How to amend the big image size threshold in WordPress

If you’ve ever tried to upload an image in WordPress that has large dimensions, you may have noticed that the resulting file has smaller dimensions than the original image. This is because WordPress has a threshold for the maximum image dimensions, and if your image is higher than that threshold, it will get scaled. You …

Read More

How to quickly see options data stored in WordPress

In this blog post, I’ll share a quick and easy way to see option data in WordPress without needing to access the database via a database management tool. This is useful if you are developing functionality that stores data in options and you want to quickly review what the current stored value is. What are …

Read More

Why you should (maybe) set cache lifespan to 10 hours or less on WordPress

There are numerous caching plugins available for WordPress, in addition to caching mechanisms provided by your web host, for the latter you might not even be aware caching is enabled. These can help speed up your website load times, however if you are using caching of any form, it can open up the potential to …

Read More

How to add code snippets in WordPress

When researching how to customise your WordPress website from tutorials online, you’ll often come across recommendations to add a code snippet to your website. There a few different options of how to add code snippets, which I’ll highlight in this blog post. Read on to find out how to add code snippets in WordPress. What …

Read More

How to add a custom body class in WordPress

For frontend styling, it’s often useful to target elements based on a class of the <body> element. Learn how to add your own custom body class, or remove existing ones in this blog post. What are body classes? Body classes are the CSS class names added to the <body> HTML element, these classes can then …

Read More