Slides JS Plus
2 slides in on post (3 posts)

  1. reichi
    Posted 3 years ago #

    when i insert 2 slide in to one page both slide are not displayed
    how can i insert 2 slides into one post?


  2. Jeff Clark
    Plugin Author

    Posted 3 years ago #

    What is the url to where you are trying to do this? It should work without having to make any modifications.

  3. artyfarty
    Posted 2 years ago #

    I believe there is a problem because all the sliders have the same id ("#slides"), given in line 94 of class Slides_JS.
    $slider_id = ($slide_type == 'gallery') ? 'products' : 'slides';

    Just adding some unique string, like the slider-id ($id)
    $slider_id = ($slide_type == 'gallery') ? 'products'.$id : 'slides'.$id;
    solves this issue.

    Of course this breaks the css, so adding a class "slides" on line 96
    $html = '<div id="'.$slider_id.'" class="slides">';
    and adding a lot of declarations in the css will be necessary.

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • Slides JS Plus
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic


No tags yet.