Category: Tutorials

  • 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…

  • 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 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.

  • If you’d like to limit the search form on WordPress site to specific post types globally, there’s and easy way to do that: // Change search function globally to search only post, page and portfolio post types function prefix_limit_post_types_in_search( $query…

  • When developing WordPress sites I generally have three environments: live, staging, and local. Since I like my staging environment to be a very close replica of production, I frequently overwrite the database and files in staging. This is especially true…

  • If you integrate any third-party services with your WooCommerce site (for ads, analytics, marketing, drop shipping, or A/B testing), it’s often helpful or necessary to provide conversion data through javascript. A lot of the big services, like Google Analytics (tutorial)…

  • I’ve been using FitVids.js in a lot of recent themes to ensure video displays nicely in responsive layouts. I wrote about this in detail for a previous post. The FitVids script is super tiny (1.7k), and I generally concat it…

  • If you run any type of eCommerce site, it’s important to understand how visitors found your site and which specific entry pages led to a conversion. Tracking data can also let you know the type of content or marketing that…