Add CSS and JS files of the template post on a WordPress page
In your theme’s file functions.php: add_action(‘wp_enqueue_scripts’,’STACK_356524_add_css_js_on_page’,99); function STACK_356524_add_css_js_on_page(){ global $post; if($post->post_type==’page’) { // check if the current wp object is a `page` also is_page() can be used: see https://codex.wordpress.org/Conditional_Tags wp_enqueue_script( ‘js_handler’, ‘url_of_your_script’, array(), ” ); wp_enqueue_style(‘css_handler’,’url_of_your_style’,array(), ‘1.0.0’, ‘all’); } } Up to you adjust the correct path to the .css and .js you need to … Read more