| 开发者 |
d3logics
vinit-sharma devshubham715 narenchouhan |
|---|---|
| 更新时间 | 2026年6月4日 19:53 |
| 捐献地址: | 去捐款 |
| PHP版本: | 7.0 及以上 |
| WordPress版本: | 6.8 |
| 版权: | GPLv2 or later |
| 版权网址: | 版权信息 |
Go to Add Custom CSS & JS → Add Custom CSS, write your CSS in the editor, choose where it should load, and click Publish. It is applied to your whole site instantly — no theme files touched. For a full walkthrough, see our guide: How to Add Custom CSS and JavaScript in WordPress.
Go to Add Custom CSS & JS → Add Custom JS, write your JS, and click Publish.
Yes. You can add unlimited separate snippets. Each one has its own title, options, and on/off state, and they are all listed in the management table.
Internal prints the code inline directly in the page. External saves the code to a cached .css/.js file that loads as a normal file — best for larger code and performance.
Yes. With "Minify output" enabled (the default), each snippet is automatically compressed when you save it.
No. External snippets are served as cached static files and minified output keeps them small, so there are no extra database queries on the front end.
wp-content/uploads/wp-add-custom-css-and-javascript folder exists and is writable (used for external files).No. Your custom CSS and JS are stored independently of the theme, so they stay active when you switch or update themes.
Yes. Upload the image to your Media Library, then refer to it by its direct URL inside your CSS, for example:
body { background-image: url('https://example.com/wp-content/uploads/2026/01/bg.jpg'); }
Yes. Your CSS is output exactly as written.
Only administrators (users with the edit_theme_options capability) can add, edit, or delete custom CSS/JS. Every action is also protected by a WordPress nonce.
Yes, the plugin works on a WordPress Multisite network (activate it per site).
This plugin is built by d3logics. Visit d3logics.com/plugins for support and our other free WordPress plugins.
get_magic_quotes_gpc(), which caused a fatal error on PHP 8.0+.