Adds a shortcode to allow you to add javascript on any page, post, or customer post type in the editor
As of April 2026, JavaScript Shortcode is a WordPress shortcode plugin with 10 active installations and a 1/5 rating from 2 reviews. It has been downloaded 2.1K+ times in total. Requires WordPress 2.8+ and PHP false+. Available on WordPress.org since 2012. Last updated 13 years ago — may have compatibility concerns. Top alternative: WP Shortcodes Plugin — Shortcodes….
This is plugin uses a shortcode to add javascript to any page, post or custom post type through the editor. It follows the same conventions as wp_register_script minus in $in_footer parameter.
| WordPress | 2.8+ requiredTested up to 2.8 |
| PHP | false+ required |
Launch
Plugin data sourced from WordPress.org. Analysis and metrics by PluginSift.