You can use the is_page( 'landing-page-template-one' )
conditional around your page specific styles / scripts as part of your over-all enqueue statements.
1 2 3 4 5 6 7 8 9 | function my_enqueue_stuff() { if ( is_page( 'landing-page-template-one' ) ) { /** Call landing-page-template-one enqueue */ } else { /** Call regular enqueue */ } } add_action( 'wp_enqueue_scripts', 'my_enqueue_stuff' ); |
If you like this question & answer and want to contribute, then write your question & answer and email to freewebmentor[@]gmail.com. Your question and answer will appear on FreeWebMentor.com and help other developers.