Show number of queries and page load time
<?php echo get_num_queries(); ?> queries in <?php timer_stop(1); ?> seconds.
Instructions:
Add this snippet to a template file during testing in the location where you want the info to show.
<?php echo get_num_queries(); ?> queries in <?php timer_stop(1); ?> seconds.
Add this snippet to a template file during testing in the location where you want the info to show.
If you like this snippet, share it with friends!