Loading Times & Queries Number: How to Display this Information on WP

Steven10 responsesWordPress
Advertise Here

Every webmaster should take good care of their pages loading times, especially since Google announced that loading times influence the ranks of your pages in the search engines’s result pages.

Displaying the loading times of your pages and the number of queries couldn’t be easier. Simply paste the following piece of code on your pages:

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

The get_num_queries() function is used to display the total number of queries used to generate the content of the given page. The timer_stop(1) is used to display the loading time of the page in seconds.

Learn how I made $36,482 online in the past 12 months.

Simply input your best email below to get started.

Advertise Here


  1. Anon

    It seems that, once again, Google is trying to make our lives just a litte bit harder. Thanks for helping to make it a little easier for us. :)

    1. Liz

      Google can be so stupid sometimes!! >:( I’m definitely using this.

  2. Sarah

    Ugh! there’s just so much to keep in mind with search engine stuff, I didn’t even know that that was something that they are taking into account. It sounds like this is going to be very useful, thanks so much!

    1. Dana

      I feel like a lot of that just goes over my head. I usually just apply whatever is posted here and trust that it works! lol

    2. Sarah

      That’s always a good method ha ha! It’s never let me down. I trust that the codes here are going to be very helpful because they have been in the past! I need all the SEO help I can get!

  3. Chris

    Very cool! Thanks a million, I’m going to apply this right now!

  4. Carl

    already I set up it in my blog and works amazingly!!!
    thanks for sharing.

    1. You’re welcome ;)

  5. Mitch

    Alright! I’m definitely doing this one. Thanks for posting this!

  6. Samie

    I’m going to apply this, cross my fingers and hope that my search engine rankings go up because of it. I know that it will take more than that, but I’m definitely hoping this will help. :)

Learn how I made $36,482 online in the past 12 months.

Simply input your best email below to get started.

No thanks, I have enough money