• Hi Guys

    I’m debugging a site to try save the loading time.

    I add the following code in the first line in header.php, and had 100 queries before I do anything.

    <?php
    		if($_GET['debug']){
    			echo "QUERY COUNT:".$wpdb->num_queries;
    		}
    	?>

    Any idea, please?

    Thanks

Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘100 queries before site loading [$wpdb->num_queries]’ is closed to new replies.