Author: Devin

  • We use Mixpanel at Cratejoy to track a lot of user interactions across the sites. However, there was a lot of profile data we were storing (and paying for) that we weren’t actually doing much with. So, I decided to…

  • I’ve been updating several of my themes to support the new custom logo feature that is being introduced in WordPress 4.5 (read about it here). Most of my themes already had a logo option, so part of adding support for…

  • I’ve started using DeployBot to manage a lot of my code deployments. It works great if you develop custom themes for clients and keep your repositories in hosted version control (like GitHub or BitBucket). I generally work in a “staging”…

  • A site I’ve been working on had a list of “recent posts” displaying underneath the main content. The feature used a WP_Query loop to display an image, title, and author link for each recent post. The client wanted to update…

  • If you’re trying to install a theme update manually, you might get this message: Installing the theme… Destination folder already exists. Theme install failed. In order to update the theme, you’ll actually need delete the current version before you can…

  • The WordPress Customizer does not have a built-in control for setting background images. The background feature simply consists of four different controls: background_image (WP_Customize_Background_Image_Control) background_repeat (radio) background_position_x (radio) background_attachment (radio) For this feature, the Customizer also loads javascript that reveals…

  • When the url of a published post is updated in WordPress, the previous url slug is saved into a meta key called _wp_old_slug and a 301 redirect is created automatically. In most cases this is exactly what you would want…

  • The JetPack plugin makes it easy to add share buttons to posts in WordPress. With a little custom code it’s also possible to track how often the share buttons are clicked and which URLs are being shared.