I blog about web development, WordPress / WooCommerce tips...
and other stuff.
In the early days (2003), WordPress was essentially a blogging tool and quite limited in how you could build with...
To allow the editor user role to have full access to Gravity Forms, simply add this code to your functions.php...
Add this code to your functions.php file to add the dimensions to the image object array for svgs. add_filter( 'wp_get_attachment_image_src',...
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...
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...
Add this to your functions.php to add a class to all pages within a tree: function is_tree($pid) { // $pid...