Skip Navigation

[Closed] Blocks Gallery and lightbox Plugin

This is the technical support forum for Toolset - a suite of plugins for developing WordPress sites without writing PHP.

Everyone can read this forum, but only Toolset clients can post in it. Toolset support works 6 days per week, 19 hours per day.

This topic contains 1 reply, has 2 voices.

Last updated by Nigel 6 months, 2 weeks ago.

Assigned support staff: Nigel.


Tell us what you are trying to do?
We have the problem that the image gallery creation with Toolset Blocks and the lightbox Plugin we use on Website create a doubled lightbox.
We use actual versions from Toolset Plugins and actual Divi Theme. Because users create a lot of content in posts in past with the classic Editor we need a lightbox plugin, to show there the linked mediafiles in a lightbox.
But these seem to create problems when we have a toolset created custom post type with usage of the blocks image gallery.
The lightbox opens twice then.
Any idea how to solve these?

hidden link



Languages: English (English ) Spanish (EspaƱol )

Timezone: Europe/London (GMT+01:00)

If you are using Blocks on a particular custom post type, and not the others where it is required that the lightbox plugin be used, then I would say the solution would be to

1. check the settings for the lightbox plugin to see if it is possible to specify where it is used, or, failing that
2. add a code snippet to dequeue the assets (JS and CSS) added by the lightbox plugin when viewing single posts of the CPT where you use Toolset Blocks (which you can test using is_singular:

The topic ‘[Closed] Blocks Gallery and lightbox Plugin’ is closed to new replies.