First, let’s cover what all of these terms mean Git Hooks If you’re doing any sort of development you need to make sure that you’re using version control, and Git happens to be my preferred solution. Git offers these cool little tools called Git hooks. Hooks run bash scripts at a number of different points […]
One great feature in phpStorm 8 was the ability to click on a function call and going to where that function is defined in the code. Makes tracking things down a lot easier, especially if you’re working on someone else’s code.
If there is one thing that’s truly annoying in CSS, it’s trying to vertically center an element inside a parent. You’d think vertical-align:center would work, but normally it doesn’t. display:table-cell often has other issues that need working out. So where does that leave us? Enter transform. Most people only think to use transform to rotate […]
If you’re like me you find the wpadminbar css push really annoying. When you’re trying to get the positioning just right on your site, you have to use a different browser, and incognito window, or log out, just to see how your site looks without your content pushed down. Thankfully WordPress is quite easy to […]
This is pretty awesome, and I hadn’t noticed it before. Until now I’ve used image based spinners for everything, but now with Font Awesome you can use fonts. Which means you can easily size them and change colors. It won’t work in IE8 or IE9 as it’s CSS3 animations, so keep that in mind.
I was working on a project that I wanted to enable lazy loading using a specific jQuery plugin, so I needed to get the thumbnail URL for all of my posts. The feature was loading around 300 articles from a custom post type using a shortcode. Every article had a featured image. Which meant that the […]