Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- function nomesuafuncao_load_styles() {
- if (!is_admin()) {
- wp_enqueue_style( 'bootstrap' , get_stylesheet_directory_uri() . '/css/bootstrap.min.css', 'css' , '3.3.5' );
- wp_enqueue_style( 'carousel' , get_stylesheet_directory_uri() . '/css/carousel.css' , 'css' , '3.3.5' );
- wp_enqueue_script( 'bootstrap' , get_stylesheet_directory_uri() . '/js/bootstrap.min.js' , 'jquery' , '3.3.5' , true );
- wp_enqueue_script( 'vendor' , get_stylesheet_directory_uri() . '/js/vendor/holder.min.js' , 'jquery' , '3.3.5' , true );
- }
- }
- add_action('get_header', 'nomesuafuncao_load_styles');
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement