frankyonnetti
4/24/2013 - 2:27 AM

#wordpress if_page_template

WordPress - if_page_template #wordpress

<?php 
	if ( is_page_template('page-about.php') ) {
	  // Returns true when 'page-about.php' is being used.
	} else {
	  // Returns false when 'page-about.php' is not being used.
	}
?>