WordPress has come a long way since its humble beginnings in 2003. The platform, once a simple blogging tool, now...
Is your HTML5 Video playing perfectly on Android phones, but not on iPhones? If you are having problems with your...
To stop any page from being deleted by any user role, including admins, add the following code to your functions.php...
A useful bit of code to prevent files from being accessed (or hotlinked) in WordPress. Prevent files from being directly...
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....
A quick snipped of code that can be used attach a function to the escape key. Great for adding or...
Fed up of getting the W3 Validator warning "The type attribute is unnecessary..."? Here is a handy bit of code to...
Need a bespoke WooCommerce site with dynamic content for two types of visitor? For example, this is from a recent...
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,...