We're merging with GenerateBlocks! Learn more here.

[Support request] Using lightbox gallery with FacetWP do not seem to work

Please login to receive premium support.

Support for the free plugin can be found here.

Home Forums Pro Support Using lightbox gallery with FacetWP do not seem to work

Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #23089
    Daniel
    Participant

    Hi!

    I’m using WP Show Posts here https://bit.ly/2JjVYTi with a lightbox gallery for the images. Also I’m using FacetWP to filter the results.

    When I activate any of the FacetWP filters, the lightbox gallery option doesn´t work as you can see in the previous link. If I deactivate the gallery option and use only the lightbox effect it works again.

    Is there a way to use the lightbox gallery with the FacetWP filter active?

    Thanks!
    Daniel

    #23190
    Tom
    Keymaster

    Hi Daniel,

    Javascript like a lightbox can be difficult when things are being added/removed from a page with other javascript. There needs to be a way to re-fire the lightbox javascript every time something on the page changes. Does FacetWP offer a trigger every time it changes that we can look at working with?

    #23412
    Daniel
    Participant

    Hi, thanks for your help.

    My knowledge of javascript is very limited I found this page in the FacetWP help where they point out something about the trigger when the page is refreshed but I don’t know what to do with it.

    FWP.refresh(); // Parse the facets and trigger an ajax refresh

    https://facetwp.com/documentation/developers/javascript/js-objects/

    As I was saying in my other question in the forum, if you think there is a simple solution you can offer me, it would be great, but if not, I can leave the website working without the gallery option.

    Thanks!

    #23532
    Tom
    Keymaster

    Hmm, I’m afraid that isn’t offering any ideas, unfortunately. I’ve had trouble with the FacetWP triggers before as well. It may be worth asking their support if there’s a preferred method they suggest for issues like this (it’s likely a common thing for them).

    #23708
    Daniel
    Participant

    No problem, as I told you, it is not an essential need for my website.

    I hope that Wp Show Posts will soon include the option for filtering the posts.

    #23785
    Tom
    Keymaster

    Agreed, definitely a missing feature. I can’t wait to build the block 🙂

Viewing 6 posts - 1 through 6 (of 6 total)
  • You must be logged in to reply to this topic.