Last active
July 22, 2016 05:35
-
-
Save Komock/1468608c7c135bd63bebbe8ba3c92e59 to your computer and use it in GitHub Desktop.
Remove/replace stylesheet on Genesisframework
This file contains hidden or 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
| <?php | |
| // Remove | |
| remove_action( 'genesis_meta', 'genesis_load_stylesheet' ); | |
| // Replace with custom | |
| add_filter( 'stylesheet_uri', 'custom_replace_default_style_sheet', 10, 2 ); | |
| function custom_replace_default_style_sheet() { | |
| return CHILD_URL . '/green-pack.css'; | |
| } | |
| ?> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment