Hi all,
I'm having a problem with wonderslider plugin from wordpress that when ever i want to change the slider by click event it doesn't work.
I had ajax call in my javascript file as this:
jQuery.post(ajax_object.ajax_url,
{'action': 'artist_slider','data': sliderID},
function(response){
$('.artist_slider').html(response);
jQuery('.wonderpluginslider-container').wonderpluginslider();
});
and this is my code in functions.php:
add_action( 'wp_ajax_artist_slider', 'prefix_ajax_artist_slider' );
add_action( 'wp_ajax_nopriv_artist_slider', 'prefix_ajax_artist_slider' );
function prefix_ajax_artist_slider() {
echo do_shortcode('[wonderplugin_slider id=' . $_POST["data"] . ']');
die();
}
at the beginning the slider didn't show at all and it had a white space, and then i used jQuery('.wonderpluginslider-container').wonderpluginslider(); and it shown my slider but the images doesn't show, so I thought it would be a css issue so it was given a display none but when I put it as display block it showed up but the slider didn't work, and it gave me an errors in console saying images doesn't exist but it is showing in thumbnails part and working perfectly in thumbnails only. while the slider itself wasn't working. all what i know that this slider support ajax call but for me it didn't work. would anybody help me please?
- +91-9829644411 Vashikaran Baba Contact Number IN Canada
- +91-9829644411 Love Marriage Vashikaran Specialist Baba Ji
- +91-9829644411 Vashikaran Removal Solution
- World Famous Tantrik Baba §+91-9829644411§
- Love Problem Specialist Astrologer +91-9829644411 IN LOndon
- +91-9829644411 BLACK MAGIC SPECIALIST BABA IN CHENNAI AHMEDABAD
- +91-9829644411 Love Vashikaran Specialist Molvi Ji
- +91-9829644411 Love Problem Solution Molvi Ji
- +91-9829644411 Black magic Specialist Molvi Ji
- +91-9829644411 Online Vashikaran Puja In Canada Toronto