Skip to content

Instantly share code, notes, and snippets.

@DanielSantoro
Created December 2, 2014 16:33
Show Gist options
  • Save DanielSantoro/eb12da344ed32f749bae to your computer and use it in GitHub Desktop.
Save DanielSantoro/eb12da344ed32f749bae to your computer and use it in GitHub Desktop.
PYS Insert function
<?php
/* Add CSS */
add_action( 'wp_enqueue_scripts', 'pys_css', 40 );
function pys_css() {
wp_register_style( 'pys-style', plugins_url('pys-style.css', __FILE__) );
wp_enqueue_style( 'pys-style' );
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment