Home Forums Flowfolio WordPress Theme Stop image gallery from cycling through articles

Tagged: ,

This topic contains 6 replies, has 2 voices, and was last updated by  BWSM 3 years, 9 months ago.

Viewing 7 posts - 1 through 7 (of 7 total)
  • Author
    Posts
  • #5578

    Spyan
    Participant

    Hi,
    I have a problem with the flowfolio wordpress theme : the galleries in my articles switch to the next article when browsing images. Is it possible to have the gallery loop through the gallerie’s photos without having it switch to the next article’s galleries? It confusing for users since they don’t know in what part of the website they are. Not sure I’m really clear with my query, I want the galleries to loop through their content only and not switch to the next article.
    I have tried overwriting line 598 in main.js and line 506 in single.php but it doesn’t work : I get a syntax error on the .js and the menu stops working with this technique.
    I’m working with wordpress 4.0.1. Any ideas would be greatly appreciated!
    Thanx in advance

    #5580

    BWSM
    Keymaster

    Please recover the 2 files, and change the main.js follow:

    Find line 637 (screenshot) in js/main.js
    galleriaIndexStatus = "First";
    update to:
    galleriaIndexStatus = "";

    Find line 639 in js/main.js
    galleriaIndexStatus = "Last";
    update to:
    galleriaIndexStatus = "";

    Don’t change single.php

    • This reply was modified 3 years, 9 months ago by  BWSM.
    #5594

    Spyan
    Participant

    Hi again, works perfect.
    Thx a lot for the assistance, you guys sure are efficient.
    Cheers!

    #5704

    Spyan
    Participant

    Hello again,
    problem is fixed for forward button; however the backward button of the gallery still cycles through earlier article. Any idea how to fix that?
    Thanks

    #5707

    BWSM
    Keymaster

    Hi, please follow:

    Find line 637 (screenshot) in js/main.js
    galleriaIndexStatus = "First";
    update to:
    galleriaIndexStatus = "";

    Best, Bwsm

    #5709

    Spyan
    Participant

    Hi, knew it’be something like that, just couldn’t figure out the correct line…Thanks a lot.
    Merry christmas.

    #5718

    BWSM
    Keymaster

    Hi,

    If you didn’t find it, please send you main.js to uiueux@gmail.com, I’ll change and send back to you.

    Best,Bwsm

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

You must be logged in to reply to this topic.