Simple and easy to use wordpress plugin to add jQuery/JS Scripts only to specific pages.
As of April 2026, Page Specific Scripts is a WordPress jquery plugin with 400 active installations and a 5/5 rating from 1 reviews. It has been downloaded 3.5K+ times in total. Requires WordPress 3.1+ and PHP false+. Available on WordPress.org since 2019. Last updated 5 years ago — may have compatibility concerns. Top alternative: Enable jQuery Migrate Helper.
This plugin helps you add jQuery and Javascript code snippets only on specific pages and posts.
It works with all types of custom post types as well. Each script added to a page or post, will run only on that specific post.
Scripts can be added in a meta box when editing a page.
This plugin uses the wp_head() action hook, and adds the code to the header of the page.
Most of the themes using this hook, so it works on most of the themes.
Tested & works with Gutenberg.
You will find more information about the plugin at the plugin website
| WordPress | 3.1+ requiredTested up to 5.5.18 |
| PHP | false+ required |
Plugin data sourced from WordPress.org. Analysis and metrics by PluginSift.