Hi there and thanks for a great and easy-to-use plugin!
I have a problem with the Group items (for slideshow display) setting in SLB. I want to use this setting for almost ALL of my posts and pages, but NOT on a few specific ones.
This is my current workaround:
– I have created a “noslideshow” category
– I assign those specific pages to that category
– In SLB file controller.php, I have changed one line to include my “noslideshow” category test:
// Setup group properties
$g_props = (object) array(
'enabled' => $this->options->get_bool('group_links') && !in_category( 'noslideshow', $_post ),
and it does work for me.
However, I would prefer a solution that would not involve hacking any SLB core file. I have installed the slb-theme-example-master plugin, but have no idea where in it to place a “hook” to the SLB core controller.php function process_links() function. Any help appreciated. I do know some PHP but am fairly new with WP. At the moment I am conducting my WP website tests locally.
TIA
https://wordpress.org/plugins/simple-lightbox/