Use Query Monitor to profile running time and memory usage of WordPress code

query monitor timings panel

Query Monitor is a WordPress plugin that includes several debugging tools, including a profiling feature that you can use to investigate running time and memory usage of specific code, find out more below. What is Query Monitor? As you’ve come across this blog post, you probably already know what Query Monitor is, skip this if …

Read More

How to add code snippets in WordPress

add code snippets 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

add body class

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