What Simple Custom CSS and JS does on your site
Simple Custom CSS and JS adds a "Custom CSS & JS" menu to the admin. Each snippet is its own entry with a title, a type (CSS, JS or HTML) and a syntax-highlighting editor. The Options box of each code sets the linking type (Internal prints the code inside the page; External File saves it to /wp-content/uploads/custom-css-js/ and loads it with a tag), the position (in <head> or at the bottom of the page, plus right after <body> for HTML) and where it applies: the front end, the block editor, the admin or the login page.
When you save, the plugin writes each code to a file, so pages don’t trigger extra database queries to fetch it. It doesn’t check or change what you type: the code goes live exactly as written. Because it lives outside the theme, it survives a theme switch and updates to the theme or plugins it tweaks.
The developer, SilkyPress, publishes the free version on wordpress.org. Simple Custom CSS and JS Pro, sold on its own site, adds URL targeting, Sass and Less preprocessors, minification, load priority, preview before publishing, revisions, export and import, HTML codes as shortcodes and, on multisite, network-wide codes.
Which sites Simple Custom CSS and JS suits
The plugin keeps front-end tweaks out of the theme, organized and labeled:
- Sites that patch the look of a theme or plugin: every fix becomes its own code that you can find, switch off or delete without digging through theme files.
- Agencies and developers: the "Web Designer" role lets someone who isn’t an administrator manage custom codes.
- Sites that restyle their admin or login page: one code can target the front end, the admin, the block editor or the login screen.
- Small header or footer scripts: an HTML or JS code is enough for an analytics script or a verification tag.
It’s the wrong tool for PHP: the plugin only handles CSS, JS and HTML. For PHP snippets, look at Code Snippets or WPCode. And for just a few lines of CSS, WordPress’s built-in Additional CSS is often enough.
Simple Custom CSS and JS strengths and limitations
Strengths
- One code per job. Codes are named, grouped by type and can be switched on or off one by one from the list.
- Theme-independent. Your tweaks stay in place when you change or update the theme.
- Four targets. Front end, block editor, admin and login page, all in the free version.
- Few queries. Codes are written to files on save instead of being read from the database on every page.
- A dedicated role. The "Web Designer" role only grants access to custom codes.
Limitations
- No safety net in the free version. Code isn’t validated, and both preview before publishing and revisions are Pro-only.
- Whole site or nothing. Limiting a code to specific URLs requires Pro.
- No PHP. Changing how WordPress behaves takes another plugin.
- No minification or Sass for free. Minification, preprocessors and load priority are grayed out in the free version.
- Visible traces. By default, HTML comments name the plugin, and external files are served from a folder named after it.
The settings we recommend for Simple Custom CSS and JS
General settings live under Custom CSS & JS > Settings. Each code’s own options are in the Options box next to the editor.
| Setting | Recommended value | Why |
|---|---|---|
| Remove comments for internal custom codes Custom CSS & JS > Settings > General Settings | On | Removes the start Simple Custom CSS and JS comments wrapped around every internal code in your pages. |
| Remove comments from externally linked custom codes Same screen | On | Drops the three-line header (plugin name, developer, save date) added to the top of external files. |
| Add the "Web Designer" role Same screen | Off if nobody uses it | The role is created on activation; unchecking the box deletes it, leaving one less role to keep an eye on. |
| Encode the HTML entities Custom CSS & JS > Settings > Editor Settings | Off (default) | Turn it on only if tags such as <input> vanish from your codes in the editor. |
| Linking type Options box of a CSS or JS code | External File for long code, Internal for a few lines | The browser caches an external file; a short internal code saves an extra request. |
| Where on page Options box of a JS code | In the <footer> element, unless the script must run early | A script at the bottom of the page doesn’t hold up the content. |
| Where in site Options box of each code | In Frontend only, unless you need more | Broken JS that also loads in the admin can get in the way of the very screen you need to fix it. |
- After turning on the external files option, re-save each external code: the header only disappears the next time the file is saved.
- Clear your caching plugin’s cache, then view a page’s source: your codes should be there, with no comment naming the plugin.
- If a code doesn’t show up, check that it’s published (not a draft) and that the
wp-content/uploads/custom-css-jsfolder is writable. - Test every new JS code in a private window with the browser console open before leaving it active.
Simple Custom CSS and JS security: few flaws, sensitive access
The WPScan and Patchstack databases list a single public flaw: an XSS vulnerability that required a logged-in account, in version 3.3 and earlier, fixed in 3.4 in 2017. The changelog for version 3.54.3 (October 2026) also mentions added permission checks on two AJAX actions. So turn on automatic plugin updates for this one.
The real risk is the feature itself: an administrator or "Web Designer" account can inject a script into every page, admin included. Give that access to as few people as possible, protect it with two-factor authentication, and review the list of codes now and then to spot one nobody added. WP Feint Pro removes the HTML comments that name the plugin (see HTML comments and the generator tag), and also hides the /wp-content/uploads/custom-css-js/ address its files are served from.
What WP Feint hides for Simple Custom CSS and JS
Pro Handled by WP Feint Pro only
The free version does not know the traces specific to Simple Custom CSS and JS: without Pro, only generator tags are removed, as for any plugin.
Free version
Handled by WP Feint Pro only
With Pro
- signed HTML comments
- folder name
- generated-file folders
Still visible
No known trace
Simple Custom CSS and JS FAQ
Does Simple Custom CSS and JS slow down my site?
Barely: codes are saved to files when you hit save, with no database query on each page. Each external file does add a request, though, so group small codes instead of spreading them over many files.
Can I add PHP code with it?
No. The plugin only handles CSS, JS and HTML codes. For PHP, use a snippets plugin such as Code Snippets or WPCode.
What happens to my codes if I switch themes?
They stay active, because the plugin stores them, not the theme. Just check that the CSS selectors they target still exist in the new theme.
Is the Pro version a subscription?
No: SilkyPress sells a license you can use forever, with one year of updates and support. The official page lists $48.50 for one site, $68.50 for 10 sites and $148.50 for 50 sites (excluding tax for European customers), with a 40% discount if you renew before it expires.
Why doesn’t my code show up on the site?
Usually a cache is still serving the old page, the code is still a draft, or the wp-content/uploads/custom-css-js folder isn’t writable. Clear the cache, publish the code and check the folder permissions.