600,000+
May 20, 2026
December 7, 2015
Customize your WordPress site’s appearance by easily adding custom CSS and JS code without even having to modify your theme or plugin files. This is perfect for adding custom CSS tweaks to your site.
OR…
OR…
wp-content/plugins directory.custom-css-js folder to this directory location.If you write multiple codes of the same type (for example: two external CSS codes), then all of them will be printed one after another
When you click the Save button the codes will be cached in files, so there are no tedious database queries.
No, the code is printed exactly as in the editor. It is not modified/checked/validated in any way. You take the full responsability for what is written in there.
Try one of the following:
1. If you are using any caching plugin (like “W3 Total Cache” or “WP Fastest Cache”), then don’t forget to delete the cache before seing the code printed on the website.
2. Make sure the code is in Published state (not Draft or in Trash).
3. Check if the wp-content/uploads/custom-css-js folder exists and is writable
Yes.
The CSS and JS are independent of the theme and they will persist through a theme change. This is particularly useful if you apply CSS and JS for modifying a plugin’s output.
For the moment only plain CSS is supported, but you can check out the Pro version in case you need a CSS preprocessor.
Yes. You can upload an image to your Media Library, then refer to it by its direct URL from within the CSS stylesheet. For example:
div#content {
background-image: url(‘http://example.com/wp-content/uploads/2015/12/image.jpg’);
}
Yes.
By default only the Administrator will be able to publish/edit/delete Custom Codes. On the plugin activation there is a role created called Web Designer. You can assign this role to a non-admin user in order to allow to publish/edit/delete Custom Codes. On the plugin’s Settings page there is an option to remove this role.
The URL for the linked Codes is built just like the URL for other media (from Media Library) by using the WordPress Address option found on the WP Admin -> Settings -> General page, as shown in this screenshot. If the WordPress Address has HTTPS in the url, then the Custom Codes and all the other media will have HTTPS in the url.
wp_delete_file function, which allows a filter before deleting a file| Version | Download | Type |
|---|---|---|
| 3.53 | Download | Stable |
| 3.52 | Download | Stable |
| 3.51.3 | Download | Stable |
| 3.51.2 | Download | Stable |
| 3.51.1 | Download | Stable |
| 3.51 | Download | Stable |
| 3.50 | Download | Stable |
| 3.49 | Download | Stable |
| 3.48 | Download | Stable |
| 3.47 | Download | Stable |
| 3.46 | Download | Stable |
| 3.45 | Download | Stable |
| 3.43 | Download | Stable |
| 3.42 | Download | Stable |
| 3.41 | Download | Stable |
| 3.40 | Download | Stable |
| 3.39 | Download | Stable |
| 3.38.1 | Download | Stable |
| 3.38 | Download | Stable |
| 3.37 | Download | Stable |
| 3.36 | Download | Stable |
| 3.35 | Download | Stable |
| 3.34.1 | Download | Stable |
| 3.34 | Download | Stable |
| 3.33 | Download | Stable |
| 3.32.3 | Download | Stable |
| 3.32.2 | Download | Stable |
| 3.32.1 | Download | Stable |
| 3.32 | Download | Stable |
| 3.31.1 | Download | Stable |
| 3.31 | Download | Stable |
| 3.30 | Download | Stable |
| 3.29 | Download | Stable |
| 3.28 | Download | Stable |
| 3.27 | Download | Stable |
| 3.26 | Download | Stable |
| 3.25 | Download | Stable |
| 3.24 | Download | Stable |
| 3.23 | Download | Stable |
| 3.22 | Download | Stable |
| 3.21 | Download | Stable |
| 3.20 | Download | Stable |
| 3.19 | Download | Stable |
| 3.18 | Download | Stable |
| 3.17 | Download | Stable |
| 3.16 | Download | Stable |
| 3.15 | Download | Stable |
| 3.14 | Download | Stable |
| 3.13 | Download | Stable |
| 3.12 | Download | Stable |
| 3.11 | Download | Stable |
| 3.10 | Download | Stable |
| 3.9 | Download | Stable |
| 3.8 | Download | Stable |
| 3.7 | Download | Stable |
| 3.6 | Download | Stable |
| 3.5 | Download | Stable |
| 3.4 | Download | Stable |
| 3.2 | Download | Stable |
| 3.1 | Download | Stable |
| 3.0 | Download | Stable |
| 2.10 | Download | Stable |
| 2.9 | Download | Stable |
| 2.8 | Download | Stable |
| 2.7 | Download | Stable |
| 2.6 | Download | Stable |
| 2.5 | Download | Stable |
| 2.4 | Download | Stable |
| 2.3 | Download | Stable |
| 2.2 | Download | Stable |
| 2.1 | Download | Stable |
| 2.0 | Download | Stable |
| 1.6 | Download | Stable |
| 1.5 | Download | Stable |
| 1.4 | Download | Stable |
| 1.3 | Download | Stable |
| 1.2 | Download | Stable |
| 1.1 | Download | Stable |
| Development | Download | Trunk |