How to remove Saturdays from the jQuery data picker that Gravity Forms uses? Read this!
WordPress code examples, tips and short examples. A lot of these snippets are here for my reference but if it solves a problem for others then great!
A quick code example to restrict who can and cannot purchase products in a WooCommerce Store
Learn how to enable Genesis features for custom post types. These include the Genesis SEO settings, the layout options on the script box.
I’ve come across this problem a couple of times now so here I am recording how I fixed it. There may be a more elegant way, if you know one be sure to post a comment here! Here’s the situation. We often use the Jetpack plugin to display related posts when building a WordPress site. […]
Here’s me blogging to remember again, if it helps someone else too then great! When working with Genesis WordPress themes often there is a need to have a different sidebar show up in one or more sections of the site. There’s a plugin, Genesis Simple Sidebars that makes it easy (think no coding required) to […]
I’ll be honest, a lot of the content I write here with WordPress code snippets is a lot about me remembering how to do things. Today’s little trick is one that I’ve used a few times but have to go hunting for it every time I need it, now it’s here 🙂 When you use […]
This is a quick snippet that I’ve worked out today. The situation: You’d like to add a meta box to the WordPress editor but only when a specific page template is in use. If you’re playing along at home and want to use this for your situation, you will want to update the ‘topic-landing-page.php’ to […]
This short code example will show you how to add featured images to single posts where the post is a custom post type
Here’s a quick PHP snippet that shows you how to alter the notification TO field based to send to an email address stored in a custom field