Created
March 19, 2013 16:11
-
-
Save robneu/5197450 to your computer and use it in GitHub Desktop.
Remove the default CSS for a landing page template
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
remove_action( 'genesis_meta', 'genesis_load_stylesheet' ); | |
add_action( 'genesis_meta', 'landing_page_css' ); | |
/** | |
* Remove the default stylesheet and replace with landing.css. | |
* | |
* @author Robert Neu | |
* @since 1.0.0 | |
*/ | |
function landing_page_css() { | |
echo '<link rel="stylesheet" href="'. get_stylesheet_directory_uri() .'/landing.css" type="text/css" media="screen" />'."\n"; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment