Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- add_action( 'wp_enqueue_scripts', 'sk_enqueue_featherlight' );
- /**
- * Enqueue Featherlight
- */
- function sk_enqueue_featherlight() {
- wp_enqueue_style( 'featherlight-css', get_stylesheet_directory_uri() . '/css/featherlight.min.css' );
- wp_enqueue_style( 'featherlight-gallery-css', get_stylesheet_directory_uri() . '/css/featherlight.gallery.min.css' );
- wp_enqueue_script( 'featherlight', get_stylesheet_directory_uri() . '/js/featherlight.min.js', array( 'jquery' ), '1.5.0', true );
- wp_enqueue_script( 'featherlight-gallery', get_stylesheet_directory_uri() . '/js/featherlight.gallery.min.js', array( 'jquery' ), '1.3.5', true );
- wp_enqueue_script( 'featherlight-init', get_stylesheet_directory_uri() . '/js/featherlight-init.js', array( 'featherlight', 'featherlight-gallery' ), '1.0.0', true );
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement