What will be the equivalent of is_page_template( ) function?
-
I use the code bellow to load a stylesheet only if is a template page. How to do it with the plugin?
<?php if ( is_page_template('schools.php') ) { ?> <link rel="stylesheet" href="<?php echo get_stylesheet_directory_uri() ?>/schools.css" /> <?php } ?>
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘What will be the equivalent of is_page_template( ) function?’ is closed to new replies.