How To Show Page Loading Time and Number Of Queries

How to show page loading time and number of queries in your WordPress blog is the topic of today. Every time we use a WordPress blog.

We are curious to know about how much time our blog page takes to load and also about the number of queries related to that specific page.

For this, I have come up with today’s short but important post.page loading time WordPress blog

In my previous post, I have compiled the Best WordPress Plugins list to make your blog more effective and useful and also written about to reduce the web loading time of your blog page, but there is no quick way (that I have explained) to check this time quickly and about the number of queries about the website or blog.

Short Code To Show The Page Loading Time and Number Of  Queries: 

There is a simple way to show that you just need nothing to do much effort not need to use any WordPress plugin, but just copy the code given below and paste it in your admin file (like footer.php or else one) and just refresh.

You will see the results.

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

I hope you will like this shortcode snippet.

Leave a Comment