Title: Manually deactivate native lightbox
Last modified: September 28, 2025

---

# Manually deactivate native lightbox

 *  Resolved [Chris Rowley](https://wordpress.org/support/users/clubside/)
 * (@clubside)
 * [8 months, 2 weeks ago](https://wordpress.org/support/topic/manually-deactivate-native-lightbox/)
 * Howdy!
 * The built-in native lightbox function is attaching itself to non-image links.
   I don’t want to wait and figure out why this is happening I’d rather just disable
   the feature. Unfortunately every time I switch the toggle and click Save Changes
   the button displays the “no” cursor and starts up some animation on the button
   but it never end. I’ve let it sit there for as long as 10 minutes. I’d rather
   just go into the WordPress database and update the setting there but given all
   my content I don’t know where to look or which variable to set to false.

Viewing 4 replies - 1 through 4 (of 4 total)

 *  Plugin Support [Nadiya – SG Support](https://wordpress.org/support/users/wpdexterity/)
 * (@wpdexterity)
 * [8 months, 2 weeks ago](https://wordpress.org/support/topic/manually-deactivate-native-lightbox/#post-18660856)
 * Hello, Chris, if you’re unable to enable/disable the lightbox option for the 
   native WordPress gallery, it’s clearly the result of a conflict between plugins
   or with your theme. Since this is happening in the admin area of your site, I
   unfortunately can’t assist further — I don’t have visibility into the errors 
   that occur when the lightbox settings are being saved.
 *  Thread Starter [Chris Rowley](https://wordpress.org/support/users/clubside/)
 * (@clubside)
 * [8 months, 2 weeks ago](https://wordpress.org/support/topic/manually-deactivate-native-lightbox/#post-18660933)
 * Can’t be the theme it’s just a simple Block theme with no functions.php. You’re
   saying there’s no way for me to go into wp_options and edit whatever record stores
   the settings for the plugin? My only option is to lose every gallery I built 
   and delete the plugin and try to find every trace of it in the database and wipe
   those too and then reinstall? The galleries work fine, the problem is despite
   your documentation saying you only attach the lightbox to native images which
   are references through links yet I have another plugin that create a login link
   on the user avatar, where the link is to /wp-login.php yet you’re attaching to
   it preventing it from working.
 *  Plugin Support [Nadiya – SG Support](https://wordpress.org/support/users/wpdexterity/)
 * (@wpdexterity)
 * [8 months, 2 weeks ago](https://wordpress.org/support/topic/manually-deactivate-native-lightbox/#post-18661091)
 * If you’d like to edit the database directly, look for the option named “_pgc\
   _sgb\_global\_lightbox\_use_”. Set its value to 0, and that should disable the
   Simply Gallery lightbox.
 * That said, I recommend making a backup of your database before doing this — although
   I’m sure you already know and are comfortable with that process.
 *  Thread Starter [Chris Rowley](https://wordpress.org/support/users/clubside/)
 * (@clubside)
 * [8 months, 2 weeks ago](https://wordpress.org/support/topic/manually-deactivate-native-lightbox/#post-18661392)
 * Hey Nadiya,
 * Thanks so much for your help, that worked perfectly and solved my problem. Since
   Lightbox doesn’t work on WooCommerce pages not sure why I activated it but next
   time I get a client I can convince to buy the Pro version I may be knocking at
   your door again to figure out why the Avatar login icon link was getting attached.
   Have a great day!
 * Chris

Viewing 4 replies - 1 through 4 (of 4 total)

The topic ‘Manually deactivate native lightbox’ is closed to new replies.

 * ![](https://ps.w.org/simply-gallery-block/assets/icon-256x256.png?rev=2543539)
 * [Mixed Media Gallery Blocks](https://wordpress.org/plugins/simply-gallery-block/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/simply-gallery-block/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/simply-gallery-block/)
 * [Active Topics](https://wordpress.org/support/plugin/simply-gallery-block/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/simply-gallery-block/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/simply-gallery-block/reviews/)

 * 4 replies
 * 2 participants
 * Last reply from: [Chris Rowley](https://wordpress.org/support/users/clubside/)
 * Last activity: [8 months, 2 weeks ago](https://wordpress.org/support/topic/manually-deactivate-native-lightbox/#post-18661392)
 * Status: resolved