WordPress plugin
Simple Custom CSS and JS Pro
Simple Custom CSS and JS Pro keeps custom CSS and JavaScript separate from theme and plugin documents. Use entries for styling, frontend scripts, or changes to extension output. Because the code is independent of the active theme, it can persist when you change themes. The plugin also works with a Multisite Network.
Simple Custom CSS and JS Pro keeps custom CSS and JavaScript separate from theme and plugin documents. Use entries for styling, frontend scripts, or changes to extension output. Because the code is independent of the active theme, it can persist when you change themes. The plugin also works with a Multisite Network.
Choose where each entry runs and how it loads
The syntax-highlighted editor supports as many code entries as needed. Set an entry to run on the frontend or in WordPress admin, then select header or footer placement and inline output or an external file. Multiple external CSS entries of the same type print one after another.
Check CSS support and code handling
The standard version is described as supporting plain CSS, while the Pro version is the option to check for CSS preprocessor support. CSS can reference Media Library images through their direct URLs. Rules such as @import and @font-face are supported.
The plugin prints code exactly as entered; it does not modify, check, or validate it. The code author is responsible for what the code does.
Set publishing permissions
By default, only an Administrator can publish, edit, or delete custom code. Activating the plugin makes a Web Designer role. Assign it to a non-admin user to let them publish, edit, or delete Custom Codes. You can remove the role from the plugin’s Settings page.
Install and troubleshoot entries
Install the plugin and open its management area in WordPress. Create an entry, select its code type and placement, add the code in the editor, and publish it. When you click Save, the code is cached in files to avoid repeated database queries.
If code does not appear, check that the entry is Published rather than Draft or in the Trash. If a caching plugin is active, clear its cache before checking again. Confirm that wp-content/uploads/custom-css-js exists and is writable. The URL for linked code follows the WordPress Address setting, including HTTPS when that setting uses HTTPS.
