• Resolved pawellabaj

    (@pawellabaj)


    Hi,

    How can I disable the plugin on a single page or entry?

    Is there such an option? I couldn’t find anything in settings and here in the forum.

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

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author Sayontan Sinha

    (@sayontan)

    Not following you – when you disable the plugin what are you trying to do? Photonic’s JS scripts are anyway not loaded if a page has no Photonic galleries. What else are you trying to do?

    Thread Starter pawellabaj

    (@pawellabaj)

    I have enabled “Photonic Lightbox for non-Photonic Images” to handle Photonic's lightbox for non-Photonic images by default.

    On one page I have dynamic table with images. When I sort or filter the table, lightbox displays wrong images.

    I want to disable the plugin on that page and keep it on others.

    Plugin Author Sayontan Sinha

    (@sayontan)

    That is not possible – by default Photonic is disabled, and when you select the option to enable it for non-Photonic images, you are creating an exception by bypassing the defaults and forcefully enabling it. There is no option to make an exception for an exception 🙂

    In looking at your website, I would suggest that you use a different lightbox plugin instead of Photonic. Photonic is very powerful when you are doing full galleries (with different types of layouts – justified grid, mosaic, masonry etc.), and integration with third-party providers such as Flickr, Google Photos, SmugMug etc. But you are using Photonic for a very basic scenario – a lightbox for non-Photonic galleries. For this, Photonic is too powerful; it is like buying a Ferrari just to cross the road. If you pick a simpler, pure lightbox plugin, you might be able to make it work for your requirements more easily.

    If you still want to use Photonic for your scenario, you can try using some logic plugins such as this: https://wordpress.org/plugins/plugin-logic/.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Disable plugin on single page’ is closed to new replies.