Hot answers tagged

1

This is absolutely working for me right now: add_action('get_header', function() { if(is_page('566')) { function sp_enqueue_script() { wp_enqueue_script( 'sp-custom-script', get_stylesheet_directory_uri() . '/assets/js/sp_script.js', array( 'jquery' ), '1.0', true ); ...


Only top voted, non community-wiki answers of a minimum length are eligible