deepak-rajpal
5/7/2013 - 10:41 AM

WordPress display all wp_query and query variables (post information etc)

WordPress display all wp_query and query variables (post information etc)

<?php
    global $wp_query; 
	echo "<pre>";
		var_dump($wp_query->query_vars);
		var_dump($wp_query); 
	echo "</pre>";
?>