Google Analytics goal overview

How to track conversions through Gravity Forms in Google Analytics

Tracking conversions is a good way of better understanding your customers, where they came from and how they navigated your site before conversion, so this is how to do it with Gravity Forms.


Putting things where they belong

This is the ultimate guide in creating child themes and functionality plugins so that you can edit your WordPress site without breaking anything, with examples showing you how to implement different types of changes.

WordPress code

Declare constants to easily reference your plugin files

By declaring PHP constants in your plugin file, you can easily reference any file in your plugin without running the risk of breaking non-standard installations.

Move pagination after content

How to move pagination links to the end of your content

Sometimes your multi-page article pagination may end up below other items at the end of your post, like related posts and social sharing icons, which makes it hard for users to even realise there’s more content to read, so this is how to fix that.


A (better) alternative to @import in child themes

There’s a better way to pull in your parent theme’s CSS than the traditional method of using an @import rule in style.css: you can enqueue the file, resulting in speed improvements for your theme.

Comment list

Stop receiving comment notifications as site admin

This snippet will remove the site admin from the list of email addresses that receive notifications for comments, which is especially helpful for webmasters, who usually don’t care about comments.


How to set end dates for content

Getting content to publish at a set time is easy enough, but when you want it to disappear at a set time, that’s a little different. This is how you can use custom meta and a custom loop to achieve your needs.


Obfuscating email addresses in WordPress

Sometimes, it would be nice to be able to put your email address on your site, without fear of it being scraped and subjected to spam. This simple shortcode solves that by converting characters to HTML entities so that it isn’t recognised as an email address to crawlers.

User-defined content from a shortcode

How to use transients to improve shortcode performance

By using transients to store the results of a specific shortcode query (even with user-defined variables), you can reduce complex queries to the database and speed up your site.

Revised WordPress 3.6 menu UI

How to use transients to speed up your WordPress menus

This is another way in which you can use transients to improve the speed of your site by replacing your menu queries with easily-retrieved transients from the cache.