Skip to content

Instantly share code, notes, and snippets.

@robneu
Created March 19, 2013 16:11
Show Gist options
  • Save robneu/5197450 to your computer and use it in GitHub Desktop.
Save robneu/5197450 to your computer and use it in GitHub Desktop.
Remove the default CSS for a landing page template
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