A nice solution for a custom WordPress Ajax login form without using a plugin. Place this anywhere you would like...
Need a bespoke WooCommerce site with dynamic content for two types of visitor? For example, this is from a recent...
A quick way to remove empty p tags from custom shortcodes in Wordpress. <?php add_filter("the_content", "the_content_filter"); function the_content_filter($content) { $block...
A quick way to manually disable the WordPress emojicons code without needing a plugin. Pop this in your functions.php file:...
Simple bit of jQuery to add an active class to the current navigation item based on the page url. jQuery("nav...
Here is a really simple way to create custom tabs for your WooCommerce builds using the ACF Repeater Field. First,...
This snippet of PHP can come in handy for removing the empty spaces in a string. Here is it being...
Add this to your functions.php to add a class to all pages within a tree: function is_tree($pid) { // $pid...
Handy bit of code you can use in your custom templates that grabs the all the page or post data by ID:...
How to use an ACF field to filter a loop with multiple post types There are other ways to do this,...