Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
Add a action to enqueue stylesGist for my "WorpdPress: Css Styles and Javascripts in theme development (In depth)" article:
function my_theme_enqueue_styles()
/* Add a remote purecss framework stylesheet */
wp_enqueue_style( 'my-theme-purecss', '', array(), '1.0.0', 'all' );
add_action( 'wp_enqueue_scripts', 'my_theme_enqueue_styles' );
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.