Tips and Tricks

A selection of WordPress tips and tricks

WordPress Tips and Tricks

Some useful tips and tricks to make your life easier.

Posts & Pages

CSS

 

 

WordPress Debug Logging in wp-config.php

// Turn debugging on
define('WP_DEBUG', true);
 
// Tell WordPress to log everything to /wp-content/debug.log
define('WP_DEBUG_LOG', true);
 
// Turn off the display of error messages on your site
define('WP_DEBUG_DISPLAY', false);
 
// For good measure, you can also add the follow code, which will hide errors from being displayed on-screen
@ini_set('display_errors', 0);

Website back-end tips

wp_actionscheduler_logs is huge: how to clean up Action Scheduler safely

https://www.roundborders.com/blog/wp-actionscheduler-logs-huge/

WordPress autoloaded options: how to find what is loading on every page, and fix it

https://www.roundborders.com/blog/wordpress-autoloaded-options/

How to reduce TTFB in WordPress (measure first, then fix)

https://www.roundborders.com/blog/how-to-reduce-ttfb-in-wordpress/