Custom CSS and JavaScript
This plugin allows you to add custom site-wide CSS styles and JavaScript code to your WordPress site. Useful for overriding your theme’s styles and adding client-side functionality. Features: Code editor with syntax highlighting and AJAX saving to avoid reloading the editor at each save. Save and pr
This plugin allows you to add custom site-wide CSS styles and JavaScript code to your WordPress site. Useful for overriding your theme’s styles and adding client-side functionality.
Features:
- Code editor with syntax highlighting and AJAX saving to avoid reloading the editor at each save.
- Save and preview your CSS and JavaScript as a draft that is only applied to logged-in users with the necessary permissions until you are ready to publish your changes to the public.
- View and restore past revisions of your CSS and JavaScript.
- Automatically minify your custom CSS and JavaScript code to reduce file size.
- For the public, custom CSS and JavaScript code is served from the filesystem instead of the database for optimal performance.
Now available! Custom CSS and JavaScript Developer Edition :
- Divide your CSS and JavaScript into multiple virtual files to keep your code organized (the code is still served as one CSS and one JS file on the front-end for efficiency).
- Supports Sassy CSS (SCSS)!
- Live preview for CSS!
- Upload and download CSS and JavaScript files, individually or in ZIP files.
- The developer logo and review/donation links are removed from the editor page in the WordPress admin.
Click here to purchase!
Alternatively, you can manually upload the plugin to your wp-content/plugins directory.
If you like this plugin, please consider leaving a comment or review.
User Access Control
In the Custom CSS and JavaScript WordPress plugin, access to plugin features is determined by user capabilities. Users with the edit_theme_options capability will enjoy full access to all the plugin’s features.
By default, the “Administrator” and “Editor” roles come equipped with the edit_theme_options capability. However, site administrators have the flexibility to customize these capabilities and assign them to other roles or individual users through plugins or custom code.