Получите имя шаблона WordPress
get_page_template_slug()
if (get_page_template_slug() =='page-workflow.php' ) {
//stuff
}
Andrew Lautenbach
get_page_template_slug()
if (get_page_template_slug() =='page-workflow.php' ) {
//stuff
}
<?php get_template_part( '/about', 'page' ); ?>