Using jQuery image gallery with wp
-
Hello all-
I’ve been trying to get an image slider to work inside of my wordpress, but not sure quite what I’m missing. I’ve been following the same method I used to get Flexslider to work, but I’m not sure what is going wrong. I’ve attached the code I’m using in my functions.php file, as well as links to my index.php ( pasetebin ) and the link to the original plugin website. Any help would be greatly appreciated!!
`function malihu_gallery() {
if (!is_admin()) {// Enqueue Malihu Gallery JavaScript
wp_register_script(‘malihu-jquery-image-gallery’, get_template_directory_uri(). ‘/js/malihu-jquery-image-gallery.js’, array(‘jquery’), 1.0, true );
wp_enqueue_script(‘malihu-jquery-image-gallery’);// Enqueue Malihu Gallery Stylesheet
wp_register_style( ‘malihu-style’, get_template_directory_uri() . ‘/CSS/malihu_gallery.css’, ‘all’ );
wp_enqueue_style(‘malihu-style’ );add_action(‘wp_footer’, ‘gallery_settings’);
}
}add_action(‘init’, ‘malihu_gallery’); `
index.php -> http://pastebin.com/hn8JNM4y
Original plugin site -> http://manos.malihu.gr/simple-jquery-fullscreen-image-gallery
- The topic ‘Using jQuery image gallery with wp’ is closed to new replies.