This takes care of NextGEN’s slideshow and CSS, as well as the Shutter script and CSS that it also enqueues by default.
add_action('wp_print_scripts', 'wpse_82982_removeScripts');
add_action('wp_print_styles', 'wpse_82982_removeStyles');
function wpse_82982_removeScripts() {
wp_dequeue_script('ngg-slideshow');
wp_dequeue_script('shutter');
}
function wpse_82982_removeStyles() {
wp_dequeue_style('NextGEN');
wp_dequeue_style('shutter');
}
But: are you sure you want to do that? Maybe you can be a little selective, and only do that on selected pages / posts / categories.
Edit: to remove the commented-out meta tag too, add this filter:
add_filter('show_nextgen_version', '__return_null');
Related Posts:
- problem with nextgen plugin
- NextGen Gallery – automatically create gallery sub page?
- Get a list of galleries from an album in NextGEN Gallery [closed]
- Customizing NEXTGEN Gallery To link images to pages
- jQuery | JJ Carousel Plugin – Can’t set speed [closed]
- How to over-ride a file in a plugin? [closed]
- Retrieving links and names of images from a NextGEN gallery [closed]
- How could I fix the lowercase problem in nextgen gallery? [closed]
- How to find the WordPress Nextgen galleries which are not used in WordPress posts?
- wordpress gallery plugin won’t show gallery online
- Plugins not showing on dashboard?
- Get ID of a NextGen album that is linked to a subpage [closed]
- WordPress plugin archive
- Namespaces in WordPress – How do I initiate the main class?
- Plugin readme.txt and assets internationalization
- Image Crop/Resize Function/Code Sinppet/Plugin to adjust/crop images during upload
- post expire after x days
- MailChimp integration that allows users to select from multiple lists [closed]
- How to handle autoloading with composer by keeping the WordPress naming conventions?
- cURL error 60: SSL certificate problem: unable to get local issuer certificate
- filemtime() warning when enqueuing style within plugin
- Minimum PHP Required for WordPress
- Post query – show posts from specified day and month and whole years
- how do i remove posts from a WP_Query so the pagination is right?
- Shortcode based chart plugin
- Unable to upload wordpress plugins
- The problem with WordPress Importer
- Information and Videos for Customers in the Backend [closed]
- How to display custom sidebar in wordpress 5.5.2
- woocommerce_package_rates not fired when wordpress woocommerce accessed as non ajax
- Delete query not working in plugin
- SEO Friendly URL on dynamic product page produced via shortcode
- Why is WPBakery Page Builder backend editor not clickable? [closed]
- WP All Import – Execute Imports
- Migrating hosts, 500 errors and plugin issues
- background images WP Supersized on homepage
- Caching RSS plugin data
- Add simple Nivo Slider to wordpress site
- Limit the amount of words displayed by the Latest News plugin, or recommend an alternative [closed]
- How can i create page through plugin
- Plugin to hide image in excerpt
- Is there a plugin that lets users request an account on the site? [closed]
- easy steps to make front end form without plugin
- Image change on hover
- Editing a text file from plugin menu
- Does using `add_action( ‘init’…` cause performance issues?
- How to connect rating to individual comments?
- Why is Google Search Console getting X-Robots-Tag noindex?
- Website show Google Ads when we have no Google Ads linked to our website
- How to create plugin/ page that reads from database
- Insert ads below the title
- WordPress Active Plugins
- How to add filter for wordpress plugin?
- Woocommerce – Change Variable Product Add to Cart to behave like external product using Custom Field (link) [closed]
- WordPress meta-box and checkbox-list
- Two WooCommerce installations on the same server, one sends customer emails but the other does not
- Better WP Security plugin blocking calls using file_get_contents() method
- Multiple Post Thumbnails Plugin – Need help with code
- WordPress Following? Social Users?
- Plugin privelages for “editors”
- Excluding specific post from custom next/previous theme function
- Update existing post dates to random dates and time
- WordPress – estimate used product
- Revision featured image
- How can I send the mail once?
- Is it okay to make a plugin to the WordPress repo, but limit it’s actions to maximum N events?
- WordPress Dashboard add user password not working, etc
- Woocommerce product variation price: How to change price dynamically through hooks
- Add external javascript to post template
- AJAX update fails for public/non-admin users
- Check if plugin is active outside of admin screen
- WordPress Product Detail and catalog
- Translating Website
- I dont know why my localization is not working
- User upload fields
- Plugin does not not load code when not used (which is good) > Elementor
- Why is every single HTML tag being stripped out of liveblog entries?
- How to add wordpress plugins in along with my standalone theme
- Create Database Tables on Plugin Activation hook
- Delivering Page Templates With Plugins
- Change page according to fetched GET Parameters
- Is there a way to add a custom input field for every taxonomy term in WP post editor?
- Where did the “WP-Custom” plugin go?
- How to change response of admin-ajax request?
- Plugin keeps saying needs to be updated and it’s in a constant loop [closed]
- wp plugin not working after website live
- Replace Dash (-) and Underscore ( _ ) with Space
- How can I add different menus (different style menu) on each page?
- Code snippet plugin not working correctly with Windows live writer and WordPress
- Jquery based image accordian plugin
- Can’t modify plugin function
- How do I set register_meta for a specific CPT?
- How to Enfroce Domain Licensing Limits? [closed]
- Override plugin constant using a theme
- How can I save the selected page in the dropdown after anyone clicks on Save Changes?
- Update Content for a Custom Block Toolbar Button
- WordPress menu dissapear when I add a parameter to custom post archive
- Submitting form to admin-post.php WordPress
- WordPress Throwing Deprecated Errors on its own Files
- How to update a lot of posts on my WP site with additional content?