X

Show Number of Queries and Page Load Time

Snippets by IsItWP

You may want to see number of queries and page load time during testing your website. It’ll help you develop the website easily.

Instructions: Add the following code to any template file of your WordPress theme where you want to show number of queries and page load time information.

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

You may also enjoy setting up download tracking in WordPress with Google Analytics.

Comments  Leave a Reply

Add a Comment

We're glad you have chosen to leave a comment. Please keep in mind that all comments are moderated according to our privacy policy, and all links are nofollow. Do NOT use keywords in the name field. Let's have a personal and meaningful conversation.

WordPress Launch Checklist

The Ultimate WordPress Launch Checklist

We've compiled all the essential checklist items for your next WordPress website launch into one handy ebook.
Yes, Send Me the Free eBook!
[60% OFF Today!]
[60% OFF Today!]
[10% OFF Today!]
[10% OFF Today!]
[50% OFF Today!]
[50% OFF Today!]