Hide a taxonomy metabox in the post editor

When you want to have more control over how your custom taxonomies are used, you may want to hide the default metabox provided by WordPress to allow you to use other methods for specifying the terms, such as using CMB 2.0


Use WordPress’ built-in dashicons for custom post types

Dashicons is a special font built in to WordPress that you can use throughout your site, such as for icons for custom post types in your dashboard menus

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.