Skip to content

Instantly share code, notes, and snippets.

@arlando
Created April 14, 2013 18:27
Show Gist options
  • Save arlando/5383696 to your computer and use it in GitHub Desktop.
Save arlando/5383696 to your computer and use it in GitHub Desktop.
WordPress CSS Enqueue
<?
/*loads Bootstrap CSS*/
add_action('wp_enqueue_scripts','load_bootstrap_css_files');
function load_bootstrap_css_files() {
wp_register_style( 'bootstrap-base', get_template_directory_uri() . '/style/bootstrap.min.css', array(), '2.3.1', all);
wp_register_style( 'bootstrap-responsive-min', get_template_directory_uri() . '/style/bootstrap-responsive.min.css', array(),'2.3.1', all);
wp_register_style( 'brown-academy-style', get_template_directory_uri() . '/style/banstyle.css', array(), '1.0.0', all );
wp_enqueue_style( 'bootstrap-base' );
wp_enqueue_style( 'bootstrap-responsive-min' );
wp_enqueue_style( 'brown-academy-style' );
}
?>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment