Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php
- function bs_4_theme_styles() {
- wp_enqueue_style( 'bootstrap_css', get_template_directory_uri() . '/css/creative.min.css' );
- wp_enqueue_style( 'style_css', get_template_directory_uri() . '/style.css' );
- }
- add_action ('wp_enqueue_scripts', 'bs_4_theme_styles');
- function bs_4_theme_js() {
- wp_enqueue_script( 'bootstrap_js' , get_template_directory_uri() . '/vendor/bootstrap/js/bootstrap.min.js' , array ('jquery') , '' , true);
- wp_enqueue_script( 'bootstrap_js' , get_template_directory_uri() . 'https://cdnjs.cloudflare.com/ajax/libs/jquery-easing/1.3/jquery.easing.min.js' , array ('jquery') , '' , true);
- wp_enqueue_script( 'bootstrap_js' , get_template_directory_uri() . '/vendor/scrollreveal/scrollreveal.min.js' , array ('jquery') , '' , true) ;
- wp_enqueue_script( 'bootstrap_js' , get_template_directory_uri() . '/vendor/magnific-popup/jquery.magnific-popup.min.js' , array ('jquery') , '' , true) ;
- add_action ('wp_enqueue_scripts' , 'bs_4_theme_js');
- }
- ?>
Advertisement
Add Comment
Please, Sign In to add comment