Created
December 2, 2015 12:36
-
-
Save ThierryA/f9e91ac675c4f77ff38e to your computer and use it in GitHub Desktop.
Beans: change UIkit style to gradient.
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
<?php | |
// Do not include the opening php tag if it is already included in your file. | |
add_action( 'beans_uikit_enqueue_scripts', 'beans_child_uikit_themes', 4 ); | |
function beans_child_uikit_themes() { | |
// Remove default style for performance purposes. | |
beans_uikit_dequeue_theme( 'default' ); | |
// Add the gradient style. | |
beans_uikit_enqueue_theme( 'gradient' ); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment