You just need to determine the handle of the script that they are enqueueing, and you can dequeue it yourself and prevent it from being loaded. I downloaded the plugin and had a look, my guess is (I haven’t tested) that the lightbox script is jquery.fullscreen-0.4.1.js, which gets loaded on line 2448 of photo-gallery.php
function my_lightbox_prevention() {
wp_dequeue_script( 'jquery-fullscreen' );
wp_deregister_script( 'jquery-fullscreen' );
}
add_action( 'wp_print_scripts', 'my_lightbox_prevention', 100 );
Add that to functions.php and it should do the trick. You might have to dequeue a couple other scripts as well but this should point you in the right direction at the very least.
Related Posts:
- Add CSS animation as Preloader to WordPress
- ‘Customize’ button in admin bar for CSS
- How to embed HTML code from WP Coder plugin (or other) into Main Index Template of the theme
- Redirect to another page using contact form 7? [closed]
- Historical customisations won’t go away [closed]
- Changing the CSS with a plugin
- how to change a static testimonials into dynamic
- Restricting a Plugin to Only Load its CSS and JS on Selected Pages?
- How to delete all records from or empty a custom database table?
- What is right way to go about adding functionality to a published WordPress plugin?
- Using Vagrant for customizable WordPress Multi-sites [closed]
- Creating button next to “add media” that allows you to choose a single post
- WooCommerce create new product and add to cart on form submit
- Extending WC_Cart in woocommerce
- WordPress Plugin as ‘Library’ From Abstract Application?
- Add custom meta box on Post page
- Custom Widget Creating PHP Exception When Placed In Its Own PHP File
- How to set value/term of a Woocommerce attribute text field in admin panel?
- Why is this custom taxonomy showing in the database?
- WordPress Plugin development Call to undefined function jQuery()
- Conditional Display of Links in Widgets
- Created Widget Not Showing up on Admin Panel
- Prevent CSS/JS loading when plugin is not used
- I need to add a custom “cover” to every new post — plugin or custom setup?
- Styling readme.html in plugin?
- How to override my plugin’s php classes with duplicates that are in my child theme folder
- Recommendations for books/resource to get started with wordpress 3 development (plugins/themes) [closed]
- Check if User exists in WordPress Multisite
- Override the filter from plugin in child theme
- Custom plugins/Manipulated plugins: Always a terrible idea to inherit these types of WP sites that discourage updates? [closed]
- wordpress.org codebase
- Can a plugin deactivate and delete itself once installed and activated?
- How to modify shortcode attributes with data from current post
- How to import my YouTube channel into WordPress?
- My Category is too big on the Menu what can i do?
- How can I capture Memberpress user info after signup [closed]
- JS Support Ticket – Auto create WP account
- plugin style conflicts, how to override? [closed]
- Removing customise fields during plugin uninstallation
- How to Create a Custom Panel and Fields in Post Page [Plugin]
- Admin Panel pagination link styles
- How to style the RSS wordpress?
- How to fetch products with the price in a page on woocommerce using a form or live search with php
- Best place for short bio,image and button [closed]
- Delete mobile menu button [closed]
- Widgets Scripts don’t load – but load when I reload the page
- Automatic Updates Individual Plugins Not Working
- Adding CSS to custom post type admin page causes error
- Edit External CSS
- Login Customizer doesn’t change the background of the register form
- Integrating WP E-commerce plugin into custom theme
- Why Do I get “wp_remote-get: could not handle for fopen()”?
- Custom post types – remove default post supports through empty array?
- Combining several CSS files into one for optimization
- How to execute a plugin on a single page only?
- When I try to de-activate any plugin it gives error “Warning: call_user_func_array() [function.call-user-func-array]”
- WordPress – source link plugin – how to modify it?
- How to create plugin in wordpress [closed]
- I want to filter my products with attributes [closed]
- Action on WordPress Install
- Custom CSS not being added by plugin
- Add background image/layout for single page?
- Delete data from custom table when deleting a post
- What is the best way to make a custom page from a plugin?
- Automatic recurring payment using YITH subscription and Dokan Stripe
- How to customize maintenance mode notification in wordpress?
- How to keep plugin (media-sync) running even the tab is closed?
- Load CSS before Theme CSS
- Hide fields in woocommerce settings
- implement custom roles in custom plugin
- Will WordPress updates remove Gutenberg Additional Classes?
- Adding LOAD MORE on a page
- Custom Plugin: How to Include Install Buttons of other 3rd Party Plugins?
- Move plugin pages from dashboard to front-end
- when i activate my WordPress plugin cannot see customizer options or preview
- How to change the width of certain paragraph or header blocks?
- save short-code in my custom plugin settings problem missed something
- Cron job shedules replace?
- register_activation_hook not creating table
- Customize plugin templates
- Widget display in theme
- How to use custom footer template in a site-plugin?
- Customize a widget position
- Why the output of an image gallery plugin is not displayed into a page of my custom theme?
- Problems with installing and deleting plugins
- wp_query for more fields plugin
- Issues with Post 2 Post Plugin
- Overwrite CSS of Instaemail plugin popup
- contact 7 plugin stops some pages from working properly
- Trouble After Update, Removing Plugin
- Plugins to generate CSS Sprites? [closed]
- adding a css file to my plugin
- How can I modify the colors of my theme for a single section of my site? [closed]
- Contact Form 7 Default value from url [closed]
- How to display content depending on the Woocommerce Product Category
- Custom gutenberg block image preview not working
- WordPress Feature – Multi Level sorting
- Product customizing quiz – quiz adding products to the cart
- show_admin_bar filter not called inside plugin class
- Sudden ERR_HTTP2_PROTOCOL_ERROR on every JS and CSS files loads