adding a jquery slider to wordpress
-
I want to add this slide to my wordpress site: http://www.htmldrive.net/items/show/514/sliding-Image-gallery-jQuery-Plugin
this slider has 3 js file (jquery + js.min + js) + a jquery command in the head. I linked them in head as html demo but it doesnt work. then I tried wp_enqueue_script but it doesnt work. I wrote:
function si_scripts(){
wp_enqueue_script(
‘simone-hide’,
get_template_directory_uri().’/scripts/jquery.slidingGallery-1.2.js’,
array(‘jquery’),
‘20141228’.
true
);
}
add_action(‘wp_enqueue_scripts’,’si_scripts’);
and I pasted jquery codes in the head( which was in the head in html code).I should add something to this code? or I should do something completely different? I would be so thankful if you could help me , I know it would take your time a lot but its too emergency and I dont know what to do if I could not do this.
The topic ‘adding a jquery slider to wordpress’ is closed to new replies.