WordPress.org

Ready to get started?Download WordPress

Forums

discover
[resolved] Add more slides (5 posts)

  1. Christine
    Member
    Posted 1 year ago #

    I'm trying to increase the number of homepage slides. I copied the slide array from options.php and changed the id's from 2 to 3. It put the option for a 3rd slide in the theme options interface, but the 3rd slide does not show up on the homepage.

    Then I tried editing element-slider.php. Where it calls the slides in "($i = 1; $i <= 2; $i++)", I changed to "($i = 1; $i <= 2; $i <= 3; $i++)". That made the slideshow disappear completely.

    Any thoughts on what I'm doing wrong? Is it in the jquery.flexslider.js file? Sorry if I sound a bit loopy -- too late at night with too much coffee.

    Thanks!

  2. fsastudent
    Member
    Posted 1 year ago #

    Also looking for a solution to this issue

  3. Christine
    Member
    Posted 1 year ago #

    I figured it out. Where is says "($i = 1; $i <= 2; $i++)" in element-slider.php, change "$i <= 2" to whatever number of slides you want. For example, if you want 4 slides, you'll change it to "$i <= 4".

  4. melissasrogers
    Member
    Posted 1 year ago #

    So once you change it to 4, where do you actually upload the pictures? I still see only two places to upload on the Slider editor in theme options. Please help!

  5. melissasrogers
    Member
    Posted 1 year ago #

Topic Closed

This topic has been closed to new replies.

About this Theme

About this Topic

Tags

No tags yet.