Display wordpress page loading time and number of queries

Do you ever asked yourself how long it took for your page to load, or how many sql queries were executed? If yes, here is a simple code to insert on your template. Nothing hard here. Simply paste the following code on your footer.php file: <?php echo get_num_queries(); ?> queries in <?php timer_stop(1); ?> seconds. … Continue reading Display wordpress page loading time and number of queries