A quick snipped of code filter parameters into YouTube oEmbed requests. Handy to remove suggested videos, YouTube contols and info....
For me, the ACF plugin is a standard install for every WordPress project. Its a great tool for developers to...
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...
I came across this when looking for a purpose built, fully customisable calendar - https://fullcalendar.io/ Im just starting to work with...
A quick way to manually disable the WordPress emojicons code without needing a plugin. Pop this in your functions.php file:...
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...
A recent freelance project has given me a chance to work with the Vebra and Dezrez API’s to create a...
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:...