WPDB Profiling
Render database profiling at the bottom of all WordPress pages. To install, upload wpdb-profiling to the /wp-content/plugins/ directory, activate the plugin, and enable / disable features from the wp-admin plugin screen.
Render database profiling at the bottom of all WordPress pages. To install, upload wpdb-profiling to the /wp-content/plugins/ directory, activate the plugin, and enable / disable features from the wp-admin plugin screen.
- 01Upload wpdb-profiling.php to the /wp-content/plugins/wpdb-profiling/ directory
- 02Activate the plugin through the ‘Plugins’ menu in WordPress
- 03Edit wp-config.php and add define('SAVEQUERIES', true);
- 04Load any page and append ?show_queries=yes to the end of your url to view your db queries and time to execute.
Frequently asked questions.
When I view the profile, it shows no results and says Total Number of Queries: 0 and Total Time: 0
First, make sure in your footer.php file that you are using the <?php wp_footer(); ?> tag. If you are, verify that you have added define('SAVEQUERIES', true); to your wp-config.php. Need more help? Support