WordPress.org

Ready to get started?Download WordPress

Forums

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

  1. reichi
    Member
    Posted 1 year ago #

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

    http://wordpress.org/extend/plugins/slides-js-plus/

  2. Jeff Clark
    Member
    Plugin Author

    Posted 1 year ago #

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

  3. artyfarty
    Member
    Posted 10 months 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

About this Topic

Tags

No tags yet.