Last active
December 20, 2015 21:39
-
-
Save braddalton/6199396 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
add_action( 'wp_enqueue_scripts', 'wpsites_landing_style_sheet' ); | |
function wpsites_landing_style_sheet() { | |
if ( is_page_template('page_landing.php') ) { | |
wp_register_style( 'landing-page', get_template_directory_uri() . 'landing-page.css', array(), '20130810'); | |
wp_enqueue_style( 'landing-page' ); | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment