Script Logic

plugin banner

Script Logic lets you control on which pages scripts and style sheets load using WP's conditional tags.

Author:Tahir Yasin (profile at wordpress.org)
WordPress version required:2.8
WordPress version tested:3.9.6
Plugin version:0.3
Added to WordPress repository:16-06-2014
Last updated:10-07-2014
Warning! This plugin has not been updated in over 2 years. It may no longer be maintained or supported and may have compatibility issues when used with more recent versions of WordPress.
Rating, %:60
Rated by:2
Plugin URI:http://scriptbaker.com/script-logic
Total downloads:2 046
Active installs:10+
plugin download
Click to start download

This plugin lists all JavaScripts and Style sheets with a control field that lets you control CSS & JavaScript files to include only on the pages where you actually need them. The text field lets you use WP's Conditional Tags, or any general PHP code.

NOTE: The script logic you introduce is evaluated directly. Anyone who has permission to manage options will have the right to add any code, including malicious and possibly destructive code. There is an optional filter 'script_logic_eval_override' which you can use to bypass the EVAL with your own code if needed. (See Other Notes).


Screenshots
FAQ
ChangeLog