An open API service indexing awesome lists of open source software.

https://github.com/jazzsequence/script-logic

Script Logic aims to accomplish with enqueued scripts what Widget Logic does for widgets: apply some basic php conditionals to restrict or enqueue scripts on specific pages, but not others without modifying your theme's code.
https://github.com/jazzsequence/script-logic

Last synced: 5 months ago
JSON representation

Script Logic aims to accomplish with enqueued scripts what Widget Logic does for widgets: apply some basic php conditionals to restrict or enqueue scripts on specific pages, but not others without modifying your theme's code.

Awesome Lists containing this project

README

          

=== Script Logic ===
Contributors: jazzs3quence
Donate link:https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=AWM2TG
Tags: javascript, dequeue, deregister, developer, wp_enqueue_script, wp_register_script, wp_dequeue_script, wp_deregister_script
Requires at least: 2.8
Tested up to: 3.3.2
Stable tag: 0.1
License: GPLv3

Add conditionals to the scripts being loaded so they only load on specified pages and speed up your load times.

== Description ==

Script Logic aims to accomplish with enqueued scripts what Widget Logic does for widgets: apply some basic php conditionals to restrict or enqueue scripts on specific pages, but not others without modifying your theme's code.

== Installation ==

Extract the zip file and just drop the contents in the wp-content/plugins/ directory of your WordPress installation and then activate the Plugin from Plugins page.

== Changelog ==

**Version 0.1**

* initial commit

== Frequently Asked Questions ==

none yet

== Upgrade Notice ==

nada

== Screenshots ==

none yet