• Resolved briansps

    (@briansps)


    I have inserted a gallery into a post, uploaded it and then viewed page. I then went to live site and checked that it was correct. I then selected another similar post and the gallery from the previous post was shown. I have repeated this several times and always get same result. I have been developing this series of posts for a few days but only noted the error today 12/12.
    I was using most recent update and then roll backed 1 update without any change.

    The page I need help with: [log in to see the link]

Viewing 7 replies - 1 through 7 (of 7 total)
  • Thread Starter briansps

    (@briansps)

    I have done further research with all plugins deactivated, I reset 5 posts to select the correct gallery. Checked them with a view in editing process. When I visited the site and selected a gallery, the gallery shown was that of the last edit.

    I would like to know of progress on this issue.

    Thread Starter briansps

    (@briansps)

    Checking the code for this call it refers to the correct gallery slug and the slug in that gallery is correct. But another gallery is selected.

    Plugin Support Nik

    (@nikitaanisimov)

    Dear @briansps, hello,

    Sorry to hear about the issue and thank you for such a detailed report,
    Could you kindly specify the id of the gallery
    1) that is supposed to be shown on the page
    2) that is currently shown there now?

    Thread Starter briansps

    (@briansps)

    https://www.staffordphotosociety.org.uk/images-of-members/michelle-sanderson-4/(opens in a new tab) this is an exmaple page. If I go to Web Gallery block and select a gallery, save and view its fine. If I then go to another similar post and repeat then come back to this post, then the gallery selection changes to that I slected for the second post. Checking the code on this page, the code is correct and not changed. Its as if a memory variable in a sub-routine is not being changed.

    Plugin Support Nik

    (@nikitaanisimov)

    Dear @briansps, thanks for the details,

    When inserting gallery into your other posts were you creating new shortcodes/builder widgets for them or copied the one used originally to insert?

    There is a widespread case when users duplicate the created gallery element/shortcode and insert it into other posts/pages – which indeed leads to the case of global updates as all galleries are basically using the same shortcode,

    May I suggest that might be the case with your page? I checked galleries on both mentioned pages and both of them are using the same data-shortcode-id=”1171″

    Thread Starter briansps

    (@briansps)

    Nikita, Thanks for your response and I was using the first post as a template and cloning it as a basis for edit for the next person. I have deleted all the existing posts and started again. With 2 produced the problem I had did not recur. With possibly 40 posts to produce using a template certainly speeds the process. If I produced the necessary posts without gallery inserted and then individually edit and insert gallery would that avoid problem of global updates??

    Plugin Support Nik

    (@nikitaanisimov)

    Yes, Brian, that should do the trick, please, try it and let us know if you have any further difficulties,

    Best of luck!

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

The topic ‘Wrong gallery selected’ is closed to new replies.