WordPress plugin intelligence profile

Scripts n Styles

This plugin allows Admin users to individually add HTML, custom CSS, Classes and JavaScript directly to Post, Pages or any other custom post types.

WP PlugIndex snapshot

Current directory snapshot

Tested up to WordPress 6.2
Current version3.5.8
WordPress coverageTested up to WordPress 6.2
Minimum stackWP 5.0 · PHP 7.4
Directory statusactive
Last directory update6 Jun 20233y ago
Active installations30K+Adoption metric — not a quality score
WordPress.org rating4.4 / 5 from 30 ratings
Official packageDirect from WordPress.org

Repository metrics are context, not quality scores. Active installations measure adoption and can strongly reflect a plugin’s age and historical popularity. Ratings, recent updates and “Tested up to” metadata also do not guarantee modern code, error-free operation, security, feature completeness or suitability for a particular site. Why active installs don’t tell the whole story →

WP PlugIndex currently records Scripts n Styles version 3.5.8 as active, updated 3y ago and tested up to WordPress 6.2.

Overview

About this plugin

This plugin allows Admin users the ability to add custom CSS and JavaScript directly into individual Post, Pages or any other registered custom post types. You can also add classes to the body tag and the post container. There is a Global settings page for which you can write Scripts n Styles for the entire blog.

Admin’s can also add classes to the TinyMCE “Formats” dropdown which users can use to style posts and pages directly. As of Scripts n Styles 3+ styles are reflected in the post editor.

Because only well trusted users should ever be allowed to insert JavaScript directly into the pages of your site, this plugin restricts usage to admin type users. Admin’s have access to even more sensitive areas by definition, so that should be relatively safe 😉

Notes about the implementation:

  • Admin users, or more specifically, any user with the manage_options and unfiltered_html capabilities (which by default is only the admin type user) can use this plugin’s functionality. Some plugins extend user rolls, and so this plugin would naturally extend include rolls that have the appropriate capability.
  • CSS Styles are embeded, not linked, at the bottom of the head element with style tags by using wp-head. If your theme doesn’t have this hook, this plugin (as well as most others) won’t work.
  • JavaScript is embeded, not linked, at the bottom of the body (or head ) element with script tags by using wp-footer (or wp-head ). If your theme doesn’t have this hook, this plugin (as well as most others) won’t work.
  • There is no input validation. This plugin puts exactly what you type in the meta box directly into the html with no error checking. You are an Admin, and we trust you to be carefull. Try not to break anything.
  • Do to the licensing of the libraries used, this plugin is released “GPL 3.0 or later” if you care about those things.
WordPress.org metadata

Plugin tags

Topics listed for this plugin in the WordPress.org directory.

  • admin
  • code
  • css
  • custom
  • javascript
Compatibility & maintenance

Compatibility & maintenance

Tested up to WordPress 6.2

Not yet marked as tested with WordPress 7.1. WordPress.org currently lists Tested up to 6.2.

Current WordPress releaseWordPress 7.1
WordPress.org Tested up to6.2
Minimum requirementsWordPress 5.0 · PHP 7.4
Update activity6 Jun 20233y ago

“Tested up to” is directory metadata supplied by the plugin author. WP PlugIndex does not turn an older declaration into a claim that the plugin is incompatible.

Changes recorded by WP PlugIndex

Recent tracked changes

No tracked version or compatibility changes have been recorded by WP PlugIndex yet.

Tracking & source

WP PlugIndex tracks public WordPress.org directory metadata and records selected version, compatibility and availability changes as they are detected.

Plugin watchlist

Watch this plugin

Sign in to your WP PlugIndex account or create a free account. Free accounts can watch up to 5 plugins and see what changed.

Watch limit

Watchlist limit reached

You have reached your current active watch limit.