Forums Forums Search & Filter Pro Quick help !

Viewing 5 posts - 1 through 5 (of 5 total)
  • Anonymous
    #64506

    I want to use the Simple Lightbox plugin on my site, it’s obviously not working when I use ajax filters ! so I want to try the code you provide on the FAQ !

    But I just don’t know where I should put this code ! Can you tell me where please ?

    Best regards
    Julien

    Anonymous
    #64552

    There’s a lot of options as to where you could put it, so it really depends on your theme and how comfortable you are editing it.

    It’s worth noting that all the exact code in the FAQ does is show you how to use it. It will just write messages to the browser console, it doesn’t actually fix the problem you’re seeing. You’ll need to have some understanding of the lightbox plugin you’re using and how to reinitiate it after the results are filtered.

    To answer you question about where the code goes, if you just want to run some tests, you can place your scripts in the footer.php file for your theme, just above the closing body tag.

    After testing, it’s usually best to get your javascript in using the wp_enqueue_script() function. A link below to a pretty good walkthrough of using it.

    https://premium.wpmudev.org/blog/adding-scripts-and-styles-wordpress-enqueueing/

    Hope it helps.

    Anonymous
    #64844

    Thank you for your answer !

    I saw in the support that you’re working on infinite scroll, the last post on July 28, 2016 says “Wait and see” ! Is there new informations about it ??

    Thanks

    Trevor
    #64854

    It is now in the development version that I have, and does require that you have Ajax enabled. If you look at our documentation, you will see it now has a page, but that is empty until it is officially released:

    https://www.designsandcode.com/documentation/search-filter-pro/search-results/infinite-scroll/

    Anonymous
    #64860

    Thank you !
    Have a good day !

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