Show number of queries and page load time

Add this snippet to a template file during testing in the location where you want the info to show.

Code Snippet:

<?php echo get_num_queries(); ?> queries in <?php timer_stop(1); ?> seconds.

Posted in Pure hacks