Created
April 14, 2013 18:27
-
-
Save arlando/5383696 to your computer and use it in GitHub Desktop.
WordPress CSS Enqueue
This file contains hidden or 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
<? | |
/*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