Home Forums Travel WordPress Theme How to make the gallery slider loop in the post?

This topic contains 5 replies, has 3 voices, and was last updated by  Ric.Todhunter 4 years, 2 months ago.

Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #82

    BWSM
    Keymaster

    Change the code line 606 (screenshot) in js/main.js as:
    galleriaIndexStatus = "";
    Do the same thing in line 323 in single.php (screenshot)
    The gallery slider would be loop in post.

    • This topic was modified 4 years ago by  BWSM.
    #4667

    Nooriji
    Participant

    There is no line 506 in single.php – the last line is line 391.

    #4669

    BWSM
    Keymaster

    please try to change line 325 galleriaIndexStatus = "Last"; in single.php as: galleriaIndexStatus = "";

    #4823

    Ric.Todhunter
    Participant

    I would also like to loop the gallery of each post rather than have it move onto the next post. I am however new to this process so ……. where do I go to find the code where I need to change the lines of code as you have explained above?

    Thanks

    #4825

    BWSM
    Keymaster

    Hi Ric.Todhunter,

    download and unzip this file
    – upload and replace main.js to ../wp-content/themes/travel/js/main.js
    – upload and replace single.php to ../wp-content/themes/travel/single.php

    Best,Bwsm
    Follow on @uiueux to get the latest version information.

    #4830

    Ric.Todhunter
    Participant

    Thanks – will do.

Viewing 6 posts - 1 through 6 (of 6 total)

You must be logged in to reply to this topic.

Join Newsletter(FREE)

Subscribe to our newsletter to receive news & updates. We promise to not spam you, super promise!