This is the best method I found for completely removing the comments from WordPress. This combination of functions will remove...
To exclude draft posts from appearing in the ACF Relationship field, add this code to your functions.php file. All you...
To allow the editor user role to have full access to Gravity Forms, simply add this code to your functions.php...
A quick snipped of code filter parameters into YouTube oEmbed requests. Handy to remove suggested videos, YouTube contols and info....
Fed up of getting the W3 Validator warning "The type attribute is unnecessary..."? Here is a handy bit of code to...
A nice solution for a custom WordPress Ajax login form without using a plugin. Place this anywhere you would like...
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:...
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:...