WordPress has come a long way since its humble beginnings in 2003. The platform, once a simple blogging tool, now...
In the ever-evolving landscape of website development, staying ahead of the curve is essential. As a freelance web developer based...
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 stop any page from being deleted by any user role, including admins, add the following code to your functions.php...
Get the featured image dimensions (width and height) in WordPress. Paste the following code in the single.php file. <?php $post_id...
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...