ryanrhughes
10/16/2015 - 6:36 PM

Output the current WordPress template being utilized

Output the current WordPress template being utilized

/**
 * Add to the functions.php file
 */
 

add_action('wp_head', 'show_template');
function show_template() {
	global $template;
	print_r($template);
}