is_page_template() is not working
-
Why following code doesn’t work?
if ( is_page_template( 'frontpage1.php' ) ) { function enqueue_xxxx() { ?> <script type="text/javascript"> ..... </script> <?php } add_action('wp_footer', 'enqueue_xxxx'); }
Viewing 9 replies - 1 through 9 (of 9 total)
Viewing 9 replies - 1 through 9 (of 9 total)
- The topic ‘is_page_template() is not working’ is closed to new replies.