=== WP Script Optimizer === Contributors: Riddler84 Tags: scripts, styles, javascript, css, into header, into footer, optimization, customization, wp_enqueue_scripts, wp_enqueue_styles, assets, rendering, speed, output, improvement, files Requires at least: 4.2.0 Tested up to: 4.5.3 Stable tag: trunk License: GPLv2 or later Improve your site-rendering speed by customizing the output of all scripts and styles of Your site. == Description == Optimization of included JavaScript- and CSS-files can be a very important thing. Many WordPress plugins comes with multiple third-party and/or own JavaScript-files that are then often included on every page of your site. In worst cases you have more than one of the same file included on your site. That slows down your site! This is where WP Script Optimizer can help you! It makes it possible to control the output of every registered JavaScript or CSS-file. You can easily create rules for it or deactivate files completely. You can also move files to the footer of your site or vice versa. Check out the following lists for all currently avaiable and planned features. **What you can currently do with WP Script Optimizer** * Get an overview of all frontend JavaScript and CSS files, that are included on your site (divided in categories) * Change the positioning (Header/Footer) of specific JavaScripts or all at once * Deactivate specific Javascripts or CSS-files completely, if not needed * Easily create logical rules to control under which conditions a file is included or not (by wordpress's conditional tags) **What you can do in future with WP Script Optimizer (planned, but not currently implemented)** * Minify and/or encrypt JavaScript- and CSS-files * Include your own JavaScript/CSS files or JavaScript/CSS inline code, without do it manually through functions.php * Add extra code to any registered JavaScript or CSS-file * Concatenate two or more (or all) files of one type (JS or CSS) to speed up loading times * Better UI with nested views of all dependents and its dependencys * ... feel free to make suggestions :-) **IMPORTANT - Please read:** This plugin can not decide if a file is or is not needed in a specific situation. Your settings have the potential to break features and functions of your site. If that is the case, you can easily change or delete your settings via the admin panel, so everything will be like it was before. But in short: you have to know what you're doing ;-) --- **If You had any problems with this plugin, please contact me, so i could fix it. Please don't write a negative review without gave me the chance to correct any issues. Thanks.** == Installation == 1. Upload the plugin folder to the `/wp-content/plugins/` directory, or install the plugin through the WordPress plugins screen directly. 1. Activate the plugin through the 'Plugins' screen in WordPress. 1. Move onto the 'WP Script Optimizer' page in admin panel and click on 'Update lists' in the upper right corner. 1. Thats it! Now you can start customize your scripts and styles. == Frequently Asked Questions == Coming soon... == Screenshots == 1. Overview of scripts and styles. 2. Set display conditions for a file. == Changelog == = 0.2.2 = Improve internal handling of default options Fix a problem that prints a PHP Error in some cases. = 0.2.1 = * Complete new UI that no longer use Wordpress's WP_List_Table class. Instead of one table list, it is now divided into lists for scripts and styles, which are itself separated in header and footer. * Including Font-Awesome Icon-Library for styling purposes. * Added a new option to reset every script or style to its original state. (Per item or as bulk-action) * Added a help page to explain the plugin's functions. * Several code improvements = 0.1.2 = * Fixed a bug, which triggers a PHP notice for some users = 0.1.1 = * Fixed some bugs = 0.1.0 = * Initial Release