Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save vanaf1979/6eb294b3daa7f555de9c6d62eff791c6 to your computer and use it in GitHub Desktop.
Save vanaf1979/6eb294b3daa7f555de9c6d62eff791c6 to your computer and use it in GitHub Desktop.
Add a action to enqueue stylesGist for my "WorpdPress: Css Styles and Javascripts in theme development (In depth)" article: https://since1979.dev/wordpress-css-styles-and-javascripts-in-theme-development-in-depth/
<link rel='stylesheet' id='my-theme-purecss-css' href='https://unpkg.com/purecss@1.0.0/build/pure-min.css?ver=1.0.0' type='text/css' media='screen' />
<!--[if lte IE 8]>
<link rel='stylesheet' id='my-theme-purecss-ie8-css' href='https://unpkg.com/purecss@1.0.0/build/grids-responsive-old-ie-min.css?ver=1.0.0' type='text/css' media='screen' />
<![endif]-->
<!--[if gt IE 8]>
<link rel='stylesheet' id='my-theme-purecss-ie9-css' href='https://unpkg.com/purecss@1.0.0/build/grids-responsive-min.css?ver=1.0.0' type='text/css' media='screen' />
<![endif]-->
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment