When page load time and number of queries in WordPress its looks good impression. It is good for observing how many time you page takes to load and how many queries are performed. like “30 queries in 0.637 seconds“. Now I’ll show you how to display page load time and number of queries in WordPress


You May Also Like:


Here is a Short Way for How to Show Page Load Time and Number of Queries in WordPress

Open your single.php, page.php, index.php, footer.php or any file and paste the following code:

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

After pasting the code, save the file and refresh the page. You’ll get the output.

About The Author

Related Posts

Leave a Reply

Your email address will not be published.