Quantcast
Viewing all articles
Browse latest Browse all 57

Multiple Slide Manager Fix for DDSlider WordPress Plugin

I recommend DDSlider for WordPress to my clients who prefer slider on their WordPress website or blog because DDSlider supports many different transitions of images as well as Inline Content and on top of that it supports multiple sliders in the same page aka one in the page content and other in the sidebar.

For WordPress 3.3 I noticed that it did not support multiple sliders (known as slide managers in DDSlider) anymore. As you add new slider, it overwrites the old slider and shows only latest slide manager you just added.

Reading the official support thread I found that the issue is more than 6 months old and no fix is provided by the developer.

Image may be NSFW.
Clik here to view.
ddslider issue Multiple Slide Manager Fix for DDSlider Wordpress Plugin

So I decided to debug the issue for one of my client.

The issue is when saving the slide manager details into WordPress, there is no code that appends the data to the old data but it only saves the current data and so your old slide manager’s are lost. Without being too technical let me share the solution. The solution is a one line fix that you need to add to DDSliderOptions.php at line No 940.

$DDOptions = get_option('ddslider_options');

Line Number can vary and so find

$DDOptions[$_POST['newSliderName']] = array(

And add the following code above it

$DDOptions = get_option('ddslider_options');

So the final code becomes

			$DDSliders = get_option('ddslider_array');

			$DDSliders[$_POST['newSliderName']] = array();

			$DDOptions = get_option('ddslider_options');

			$DDOptions[$_POST['newSliderName']] = array(

I hope this helps other DDSlider users. Remember I am not going to support this plugin because it is a paid plugin and support should be from the original developer.


Viewing all articles
Browse latest Browse all 57

Trending Articles