Connect with us

Scripts

Scripts Dequeuer

Live Preview                                                                                  Free Download 

Scripts Dequeuer helps you dequeue WordPress frontend scripts and styles without touching any code. You just need to select scripts and styles from backend and they will be dequeued instantly.

Usage scenario

If you are running a WordPress website with good amount of traffic and expect decent revenue from it, you would be already aware about importance of site speed and performance optimization. A fast loading site can improve traffic and engage more users for you. While optimization can be done in many ways like, using caching plugins, optimized images, using CDN, etc., there are some situations which need a completely different approach.

For example, consider a case in which two different plugins use same CSS files (say, fontawesome CSS) and load them individually. Or consider a case in which two plugins are loading same JavaScript file, say, jQuery validate or jQuery Masonry individually. While WordPress takes very good care of preventing redundant enqueue by checking for same script handle names, such situation may still arise if the script handle names are different.

In such cases, the only direct solution is to dequeue/deactivate one of those redundant scripts for optimizing performance. While this can be done directly by adding some code in theme’s functions.php file, one would definitely like to have a user friendly way in which he/she can deactivate scripts without having to fiddle with the code. Scripts Dequeuer is developed to provide you such feature which lets you dequeue scripts and stylesheets in user friendly manner. The plugin is fast, light weighted, and is worth installing for such nifty feature.

How it works

If front end scripts and styles are enqueued using native WordPress hooks (wp_enqueue_scripts, wp_print_scripts, wp_print_styles, etc.), Scripts Dequeuer can detect all such scripts/stylesheets and list them inside WordPress admin area. There you can select scripts/stylesheets and add them for dequeue. Upon saving changes, selected scripts and stylesheets are dequeued and listed separately.

list of detected scripts on front end

list of detected styles on front end

Furthermore, the plugin takes care of not dequeuing scripts which are required by other scripts. For example, if you select jQuery for dequeue, it won’t be dequeued if any other file still requires it. The plugin provides an option of “Force Dequeue” by ignoring dependencies. In that case you can force dequeue files by ignoring dependencies.

plugin settings

As of v1.1.0, the plugin also provides option for excluding pages or posts per dequeue item. Using this option you can specify which pages or posts shall dequeue the files selected in the plugin settings. This feature can be very useful in conditional script loading.

Excluding pages or posts from dequeue list

Which site locations are searched for scripts and stylesheets?

By default, the plugin searches for files on three locations – Your site’s Home page, a single post page, and an archives page. These three locations will contain most of your site’s CSS and JS files.

Additionally, you have option for providing custom URLs on which files shall be scanned. This is useful when themes or plugins are enqueuing files conditionally. For e.g. a contact-form.js file may be included only on a contact page, or a masonry.js file might only be loaded on a portfolio template page. In that case you can provide URLs of these pages for extra scanning. The plugin will scan all those pages and will list all enqueued scripts and stylesheets.

Why use this plugin?

If you are a developer or intermediate WordPress user, you can of course add some code in theme’s functions.php file for dequeuing scripts and stylesheets. However, upon switching themes, this code will get removed too (unless taken a backup). This plugin is intended for users who need a user friendly and reliable solution for dequeuing scripts without having to touch the code.

The plugin not only helps you dequeue files, it gives you a clear picture about total files used on front end, their sources and dependencies. If you are keen about site performance, optimization, and you do every possible thing to improve your website’s speed, you can definitely have this useful plugin in your collection. You will not regret it. Please also check plugin screen shots to get an idea about backend settings and features.

Key features

  • Compatible with WordPress 4.5.x and 4.6.x
  • Unbranded settings panel with JavaScript tab navigation
  • Shows complete list of scripts and styles detected on front end
  • Detects scripts and stylesheets which are enqueued using WordPress native hook
  • Ability to dequeue all scripts and stylesheets at once, or as per selection
  • Option for excluding pages or posts per dequeue item for skipping dequeue operation. – New
  • Shows separate portlets for “Dequeue list”, “Successfully dequeued list”, and “not dequeued list”
  • Each portlet shows file count for better idea about number of files
  • Custom “Add URL” option with jQuery sortable list
  • Force dequeue option for ignoring script dependencies
  • Clean and optimized code as per WordPress coding standards
  • 100% Translation ready with sample .pot file included
  • Documentation help manual with usage instructions
  • Works with most themes and plugins (free + premium)
  • Compatible on all major browsers with IE 9+
  • Dedicated support in reasonable time span

Plugin Support

All support is provided via comments section and email. For any questions related to the plugin or general query, feel free to email me from my profile page message box, or comment on the item comments section. I would be glad to respond. Thank you for browsing the plugin.

Credits

Font icons from icomoon app
http://icomoon.io/app/

Changelog

== Aug 25, 2016 - v1.1.0 ==
* Added feature for excluding pages and posts from dequeue operation. (Thanks to Nathan for suggestions).
= Important: After updating =
* Remove all items from the Dequeue list and then add files again in order to see exclude options

= 1.0.0 =
* Initial release

[ad_2]
Source

Continue Reading
Click to comment

Leave a Reply

Your email address will not be published. Required fields are marked *

Title

ThumbsUp ThumbsUp
Wordpress Plugin4 weeks ago

ThumbsUp

[ad_1] LIVE PREVIEWBUY FOR $17 ThumbsUp 2.2 ThumbsUp is a flexible PHP voting script. It allows visitors to vote for...

Ultra WordPress Admin Theme Ultra WordPress Admin Theme
Wordpress Plugin1 month ago

Ultra WordPress Admin Theme

[ad_1] LIVE PREVIEWBUY FOR $23 Ultra Admin brings your WordPress Admin Panel to LIFE. Along with White Label Branding features,...

Vectors1 month ago

Business people with connection icons

Free Png Image Download

Laravel CMS  - Ajax CRUD Plugins Laravel CMS  - Ajax CRUD Plugins
Wordpress Plugin1 month ago

Laravel CMS – Ajax CRUD Plugins

[ad_1] LIVE PREVIEWDownload $13> NOW AVAILABLE FOR SXIMO 3 & 5.1 LTS Sximo Ajax CRUD is patch/plugin for improve cruds...

The Inventory The Inventory
Wordpress Plugin1 month ago

The Inventory

[ad_1] LIVE PREVIEWDownload $16> The Inventory – a simple and user friendly piece of code for maintaining a warehouse of...

Ultimate WooCommerce Brands Plugin Ultimate WooCommerce Brands Plugin
Wordpress Plugin1 month ago

Ultimate WooCommerce Brands Plugin

[ad_1] LIVE PREVIEWBUY FOR $29 Ultimate WooCommerce Brands Plugin for WordPress This plugin allow you to easy add brands with...

Facebook Downloader Video & Gif Facebook Downloader Video & Gif
Wordpress Plugin1 month ago

Facebook Downloader Video & Gif

[ad_1] LIVE PREVIEWBUY FOR $12 Facebook Downloader Video & Gif is use for download videos from facebook android app. The...

WPBakery Page Builder for WordPress WPBakery Page Builder for WordPress
Wordpress Plugin1 month ago

WPBakery Page Builder for WordPress

[ad_1] LIVE PREVIEWBUY FOR $64 WPBakery Page Builder – current version 6.0.5 available for download! WPBakery WordPress Page Builder Plugin...

Real Estate Agency Portal Real Estate Agency Portal
Wordpress Plugin1 month ago

Real Estate Agency Portal

[ad_1] LIVE PREVIEWBUY FOR $39                                   2500+ Happy users! Thank You So Much! Similar WordPress theme also available Frontend user login...

Vectors1 month ago

Money bag background design

Free Png Image Download

eForm - WordPress Form Builder eForm - WordPress Form Builder
Wordpress Plugin1 month ago

eForm – WordPress Form Builder

[ad_1] LIVE PREVIEWBUY FOR $39 Premium WordPress Form Builder Plugin For complete form management solution, quizzes, surveys, data collection, payment...

Online Store CMS Online Store CMS
Wordpress Plugin1 month ago

Online Store CMS

LIVE PREVIEW                                    ...

Slider Revolution jQuery Visual Editor Addon Slider Revolution jQuery Visual Editor Addon
Wordpress Plugin1 month ago

Slider Revolution jQuery Visual Editor Addon

[ad_1] LIVE PREVIEWBUY FOR $49 Slider Revolution jQuery Visual Editor Addon Are you looking to utilize the full visual editing...

Booksi - Property & Vacation Rental Management CMS Booksi - Property & Vacation Rental Management CMS
Wordpress Plugin1 month ago

Booksi – Property & Vacation Rental Management CMS

[ad_1] LIVE PREVIEWDownload $69> Booksi is a Rental and Directory Management CMS, that will help you make your own website...

Team Showcase for Visual Composer WordPress Plugin Team Showcase for Visual Composer WordPress Plugin
Wordpress Plugin1 month ago

Team Showcase for Visual Composer WordPress Plugin

[ad_1] LIVE PREVIEWBUY FOR $18 Team Showcase for Visual Composer is the best well made and up to date Plugin...

Trending