
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.





+2
Overview
Compatibility
Installation instructions
Customer support & learning resources
Changelog
Main benefits
Add custom CSS/JavaScript
Global settings page
TinyMCE Formats dropdown
Admin-only access
Embedded styles/scripts
About this plugin
Author: WraithKenny
Categories: Design and Customization
Version: 3.5.8
Last updated: 06-06-2023
WordPress version: 5.0
Tested up to: 6.2.6
PHP version required: 7.4
Languages:
Tags:
Overview
This WordPress plugin empowers Admin users to directly inject custom CSS and JavaScript into individual Posts, Pages, or any registered custom post types, enhancing the flexibility and customization capabilities of their site. It features a Global settings page for site-wide Script and Style management and allows Admins to add classes to the body tag, post container, and TinyMCE “Formats” dropdown for direct styling in the editor. Restricted to users with manage_options and unfiltered_html capabilities, the plugin ensures only trusted users can execute scripts, maintaining security. Note that it embeds CSS and JavaScript within the head or body elements using WordPress hooks, requiring themes to support these hooks to function correctly. Released under GPL 3.0 or later, the plugin operates without input validation, trusting Admins to handle the code responsibly.
Custom CSS and JavaScript for Individual Posts and Pages
- Allows Admin users to add custom CSS and JavaScript directly into individual Posts, Pages, or any other registered custom post types.
- Enhances the flexibility and customization of specific content without affecting the entire site.
Global Settings for Site-wide Scripts and Styles
- Provides a Global settings page to write Scripts and Styles for the entire blog.
- Ensures consistent styling and scripting across the entire site.
Enhanced TinyMCE Editor Functionality
- Allows Admins to add classes to the TinyMCE “Formats” dropdown for easy styling.
- Styles are reflected directly in the post editor, providing a WYSIWYG experience.
Admin-Only Access for Security
- Restricts usage to admin type users to ensure security.
- Only users with manage_options and unfiltered_html capabilities can use the plugin’s functionality.