Custom CSS and JavaScript in WordPress that survives updates, with version history and emergency mode
KostenlosFreeincl. 19% VAT
Custom CSS & JS Manager Free keeps your own CSS and JavaScript outside the theme: as snippets for the whole website or directly on single posts, pages and products.
Why does your WordPress site need a CSS & JS manager?
If you change theme files directly, your work is lost with the next update. A child theme is too much effort for a few lines of CSS. Custom CSS & JS Manager Free stores your code in the database.
What can the free version do?
- Snippets with CSS or JavaScript for the whole website: each with its own switch, in the page head or at the page end, with order, duplicate, trash and search
- Own CSS and JavaScript for every post, page, WooCommerce product and other post types, in separate fields
- Earlier versions of every snippet and page, loaded into the editor with one click
- Code editor based on CodeMirror with syntax highlighting, auto-completion and error checks
- Switch off theme CSS or theme JavaScript for a single page
What helps if custom code breaks the website?
One button pauses all custom code. If you can no longer reach the admin area, a secret link that needs no login or a line in wp-config.php helps. Nothing is deleted. Through the admin bar you can also view a page without custom code at any time, without visitors noticing.
Who may change code?
You set the minimum capability in the settings. In addition, the plugin requires the WordPress right to add unfiltered HTML, which administrators and editors have. Authors and contributors cannot save code.
Free or Pro: which version suits you?
For snippets on the whole website and code on posts, pages and products, the free version is enough. Rules, consent, live preview and error watch come with Custom CSS & JS Manager Pro.
| Feature | Free | Pro |
|---|---|---|
| Snippets for the whole website, each with its own switch | yes | yes |
| Code for posts, pages, products and other post types | yes | yes |
| Emergency mode with a link that needs no login | yes | yes |
| Ten earlier versions | yes | yes |
| Compare versions side by side | no | yes |
| Drafts and live preview | no | yes |
| Rules: pages, visitors, devices, period | no | yes |
| Output only after consent | no | yes |
| Watch for JavaScript errors | no | yes |
| Files, minification, defer and async | no | yes |
| Export, import, moving from another plugin | no | yes |
| REST API and WP-CLI | no | yes |
| Presets | basic set | 110 |
| Updates | download new versions here | 12 months in the WordPress admin |
Technical requirements
| WordPress | 6.2 or later, tested with 7.1 |
|---|---|
| PHP | 7.4 or later, tested with 7.4 and 8.5 |
| Installation | upload the ZIP file under Plugins > Add New |
| Use | menu “CSS & JS” in the admin area |
| Size | no limit, can be set if you like |
Frequently asked questions about Custom CSS & JS Manager Free
Does the plugin work with every WordPress theme?
The code is output through the usual WordPress functions and is not tied to a theme. This applies to classic themes and block themes.
Are my changes lost with a theme update?
No. The code is stored in the database. After switching themes it is still there, you may have to adjust some selectors.
Is there a size limit?
No. Since version 3.0.2 the free version has no limit either. You can set one yourself in the settings if you like.
Can I use the plugin for WooCommerce products?
Yes. Every product gets its own fields for CSS and JavaScript, and snippets also apply to shop pages. Rules for cart or checkout are part of Pro.
How do I get updates?
Download new versions here in the shop and install them over the present one. Your code is kept.
Questions about the plugin or a custom change? Write to us.






You can install this WordPress plugin in two ways: via ZIP file (recommended) or via Composer (for Composer-managed WordPress installations).
Option 1: Install via ZIP file Recommended
Once you have placed your order, the plugin is available for download as a ZIP file.
1. Download the ZIP file
Download the ZIP file from your account under My Account → Downloads.
2. Upload the plugin in the WordPress admin
In the WordPress admin, go to Plugins → Add New → Upload Plugin and select the downloaded ZIP file.
3. Activate the plugin
After uploading, click "Activate Plugin". The plugin is ready to use right away. You can find the settings under CSS & JS (separate menu item).
Option 2: Install via Composer
For Composer-managed WordPress installations (e.g. with Bedrock). Once your order is complete, you will receive your personal credentials for our Composer repository by email.
1. Add the repository
composer config repositories.storetown-media composer https://packages.storetown-media.de
2. Install the plugin
composer require stm/custom-css-js-manager
3. Activate the plugin
The plugin is installed automatically in the wp-content/plugins/ directory. Then activate it under Plugins in the WordPress admin. You get future updates via composer update.
Need help?
If you have questions about the installation, contact our support team at support@storetown-media.de.
Change Log
Version 3.0.4 – 2026-11-26
Changed- Requires WordPress 6.2.
- Database queries use placeholders for table names.
Version 3.0.3 – 2026-11-26
Changed- Code for posts, pages, WooCommerce products and all other public post types.
- Ten earlier versions instead of five.
Version 3.0.2 — 2026-11-26
Changed- No size limit for code any more.
- Text domain stm-custom-css-js-manager, as on WordPress.org.
Version 3.0.1 — 2026-11-25
Fixed- In the block editor, code is visible as soon as the box is opened.
Version 3.0.0 — 2026-11-25
Added- Snippets: CSS and JavaScript for the whole website as a list, each with its own switch, order and place (page head or page end). One faulty snippet does not stop the others.
- Versions: earlier code of snippets, posts and pages, loaded into the editor with one click.
- Emergency mode: pause all custom code with one button, with a secret link that works without login, or with CCJM_SAFE_MODE in wp-config.php. Nothing is deleted.
- View without custom code: a link in the admin bar shows the page without it, only for you.
- Snippets can be duplicated, put into the Trash, restored, searched and filtered. Ctrl + S saves.
- Page caches of common caching plugins are emptied when a snippet changes.
- Presets for CSS and JavaScript.
- Own menu "CSS & JS" instead of entries under Settings and Tools.
- A snippet with a syntax error asks before it is switched on.
- Requires WordPress 5.9.
- Post types unticked in the settings are respected.
- License code and Pro hints in the admin bar, on the dashboard and in editors. The Pro version is a separate plugin, the Free version makes no external requests.
Version 2.1.1 — 2026-11-25
Security- Changing code now requires the WordPress right "unfiltered_html" and the right to edit that post. Contributors and authors could store JavaScript before; the capability "Edit Posts" is replaced by "Edit Pages".
- Accounts without that right see the code read only.
- Saving no longer removes backslashes (icon fonts such as "\f101", regular expressions such as /\d+/).
- Saving no longer cuts code at "<": range media queries, SVG data URIs and HTML strings stay complete. Only a pasted <style> or <script> tag around the whole code is removed.
- In the block editor, changes made in the code editor are saved.
- CSS specificity: selector lists with :is(), :where() or :not(), one-line rules and rules inside @media, @supports, @layer and @container are handled correctly. Every original selector is kept.
- "</STYLE>" and "</SCRIPT>" are escaped in any spelling.
- CSS check ignores braces in comments, strings and url(). JavaScript is checked for syntax errors by the browser itself, without running it.
- Code above the size limit is announced while typing, before it is refused.
- Statistics: the table is created on updates as well, dates are stored correctly, empty entries are left out, CSV export works.
- "Reset Settings" keeps your CSS and JavaScript.
- German translation is loaded.
- Free and Pro can be active at the same time without a fatal error; Pro switches Free off.
- Uninstalling one edition never deletes data while the other one is installed.
- Pro hints rewritten: only existing features, no discount claims, working links.
- JavaScript formatter: it could break strings and regular expressions. CSS formatting now only changes the indentation.
Version 2.1.0 — 2026-03-09
Added- STM License Client SDK integration for Pro license validation
- License activation in Free version unlocks Pro features without reinstall
- Pro feature unlock via filter system (post types, size limits, advanced features)
- License management now uses centralized STM License Client SDK
Version 2.0.0 — 2026-03-08
Added- Full WPCS (WordPress Coding Standards) compliance across all PHP files
- Centralized
CCJM_Sanitizerclass for CSS/JS input sanitization wp_add_inline_style()/wp_add_inline_script()for all frontend output (replaces raw/tags)$wpdb->prepare()for all database queries including LIKE patterns- Proper
wp_unslash()+sanitize_text_field()on all$_POST/$_GETdata - Format arrays for all
$wpdb->insert()/$wpdb->update()calls LICENSE.txt(GPLv2) in plugin root- German translation file (
languages/ccjm-de_DE.po/.mo, 325 entries) - Translation template (
languages/ccjm.pot) - Pro upgrade page with feature comparison
- Architecture: Complete rewrite with shared
core/architecture (identical core with Pro version) - Frontend output: Hooks changed from
wp_head/wp_footertowp_enqueue_scripts(priority 9999) - Metabox: Replaced anonymous closures with named class methods for WordPress compatibility
- Upgrade notices: Moved from inline
to properly enqueued JavaScript viawp_add_inline_script() - Capability: Configurable via
CCJM_Core::get_capability()instead of hardcodededit_posts - Code validation AJAX: Uses
sanitize_textarea_field()for submitted code - Pro features page: Inline styles moved to
admin.css - Minimum PHP version requirement raised to 7.4
- Missing nonce verification on metabox save (
sanitize_text_field( wp_unslash() )) - Missing escaping on plugin action links (
esc_url(),esc_html__()) - Unescaped HTML in translation strings (now uses
wp_kses()) - Dynamic CSS class output missing
esc_attr()on settings page - Missing
absint()on post IDs in frontend output - Upgrade dismiss AJAX missing capability check
- All
$_POST/$_GET/$_REQUESTaccess now useswp_unslash()+ sanitization - All database queries use
$wpdb->prepare()with proper format specifiers - Direct file access protection (ABSPATH check) on all PHP files
- Nonce verification on all AJAX handlers and form submissions
- No external API calls — verified zero outbound connections in Free version
Version 1.5.0 — 2026-01-15
Added- Admin bar indicator showing active custom code on current page
- Code size indicator in metabox footer (bytes / percentage of 25 KB limit)
ccjm_free_size_limitfilter to allow customization of the size limit
- Settings page reorganized with tabs (General, Editor, Advanced)
- Improved code editor loading performance (lazy initialization)
- Better upgrade notices with feature comparison
- Code editor height not persisting after page reload
- Rare PHP notice when
$postis null on certain admin screens - Translation strings with placeholders not working correctly in some locales
Version 1.4.0 — 2025-12-10
Added- 10 basic code snippets for common CSS patterns (hide elements, responsive text, flexbox layouts, etc.)
- Keyboard shortcuts in code editor (Ctrl+S to save, Ctrl+/ to toggle comment)
ccjm_before_output_cssandccjm_before_output_jsfilter hooks for developers
- Snippet insertion now replaces selection instead of appending
- Code editor theme updated for better readability
- Pro upgrade notice redesigned (less intrusive, dismissible for 30 days)
- JavaScript validation false positives on arrow functions
- CodeMirror conflict with other plugins loading older versions
- CSS validation rejecting valid
@mediaqueries withprefers-color-scheme
Version 1.3.0 — 2025-11-05
Added- Analytics dashboard under Tools > CSS & JS Stats with usage overview
- CSV export for analytics data
- Database table
{prefix}_ccjm_analyticsfor tracking code usage - Clear statistics button for data cleanup
- Metabox now shows "last modified" timestamp for CSS and JS
- Improved code validation with detailed error messages and line numbers
- Admin notices consolidated (max 1 notice at a time)
- Code not saving when both CSS and JS fields are submitted simultaneously on slow servers
- PHP 8.1 deprecation notice for
strftime()in analytics - Missing text domain on 3 admin notice strings
Version 1.2.0 — 2025-10-02
Added- Initial public release on WordPress.org
- Per-post and per-page custom CSS editor with CodeMirror syntax highlighting
- Per-post and per-page custom JavaScript editor
- Code validation for CSS and JavaScript
- Theme CSS/JS disable toggles per post
- Basic code statistics page
ccjm_capabilityoption for customizing required user role- 25 KB code size limit per post (CSS and JS each)
- Admin settings page under Settings > CSS & JS Manager
- Uninstall data cleanup option
- Gutenberg and Classic Editor support
- Data preservation during Free-to-Pro upgrade path
Frequently Asked Questions
Which WordPress versions are supported?
This plugin is compatible with WordPress 6.2 and later. You can find the exact version requirements in the respective product description.
Does the plugin work with my theme?
Yes, our plugins are compatible with all standards-compliant WordPress themes – including Gutenberg and the Classic Editor.
Do I get automatic updates?
Yes – if you installed the plugin via Composer, you can update it easily with composer update. If you installed it manually from the ZIP file, you can download new versions from your account and update them through the WordPress admin.
Where can I get support?
Email us at support@storetown-media.de. We usually reply within 24 hours.
Custom Development
Need additional features or want this extension adapted to your specific requirements? As an agency, we offer custom development tailored to your needs.
Our services include:
- Feature extensions & custom functionality
- Integration with existing workflows & third-party systems
- Customization to match your corporate design & theme
- Performance optimization & code reviews
- Dedicated support & maintenance contracts
Interested? Send us a brief description of your requirements and we'll prepare a free, no-obligation quote.
Email: moin@storetown-media.de
Web: storetown-media.de
1 review for STM Custom CSS JS Manager Free
Questions about purchase, license and support
What is STM Custom CSS JS Manager Free and what is it used for?
STM Custom CSS JS Manager Free is a professional digital product in the WordPress / WooCommerce Plugins category, developed and sold by Storetown Media from Hamburg. Custom CSS & JS Manager Free keeps your own CSS and JavaScript outside the theme: as snippets for the whole website or directly on single posts, pages and products. It is designed for developers, agencies and store owners looking for a reliable, professionally maintained solution.
Is STM Custom CSS JS Manager Free really free? Are there hidden costs?
Yes, STM Custom CSS JS Manager Free is completely free. There are no license fees, subscription costs or hidden charges. You can download the product freely, use it in your own projects and benefit from regular updates. The download is available immediately after placing your free order in the Storetown Media Shop.
How do I download and install STM Custom CSS JS Manager Free?
You can download STM Custom CSS JS Manager Free immediately after completing your order. You will automatically receive a confirmation email with a direct download link. The file is also permanently available in your customer account under "My Downloads". You'll find the installation instructions in the "Installation" tab on this page. If you have questions about setup, our technical support team is happy to help, in German and directly from Hamburg.
What technical support and updates are included with STM Custom CSS JS Manager Free?
Every purchase of STM Custom CSS JS Manager Free includes 12 months of professional technical support in German and all product updates. Our development team, with more than 14 years of e-commerce experience, is available to you by email. After the first year, you can renew your support period at a 30 % discount. Regular security and compatibility updates keep STM Custom CSS JS Manager Free reliable and up to date.
Is there a free demo or trial version of STM Custom CSS JS Manager Free?
Yes, Storetown Media offers a free live demo of STM Custom CSS JS Manager Free that you can try right away without signing up. The frontend demo shows the full functionality from the perspective of your customers and visitors, including all UI elements, animations and responsive behavior on different devices. The backend demo gives you access to the admin interface so you can explore all settings, configuration options and the dashboard in detail. You'll find the demo links directly on this page below the product gallery.
Which payment methods does Storetown Media accept? Is payment secure?
In the Storetown Media shop, you can pay with PayPal, credit card, Apple Pay, Google Pay, Amazon Pay, Klarna, bank transfer in advance or on invoice, among other options. The payment methods available in your country are shown at checkout. All transactions are protected by SSL encryption. Sensitive payment data is not stored on our servers and is processed exclusively by PCI DSS-certified payment service providers.
What do customers say about STM Custom CSS JS Manager Free?
STM Custom CSS JS Manager Free has an average rating of 5.0 out of 5 stars based on 1 review. You can read the individual reviews in the Reviews tab higher up on this page.
Who is behind STM Custom CSS JS Manager Free? Who is Storetown Media?
STM Custom CSS JS Manager Free is developed and sold by Storetown Media, a specialized e-commerce service provider based in Hamburg (Tornesch). The company has more than 14 years of experience developing professional shop solutions based on Magento, Adobe Commerce and WooCommerce. All products are designed, built and maintained in-house by experienced, certified developers, with no third-party software. You can find more information at storetown-media.de.
What other WordPress / WooCommerce plugins does Storetown Media offer?
STM Custom CSS JS Manager Free belongs to the "WordPress / WooCommerce Plugins" category in the Storetown Media shop, which includes a total of 7 professional products. All products in this category are maintained by the same development team and are designed to work together. Explore our full range of e-commerce solutions that make your online store more powerful, more secure and more profitable.
Can I use STM Custom CSS JS Manager Free in multiple projects or shops?
The standard license for STM Custom CSS JS Manager Free covers use in a single project or production environment. For use in multiple shops or client projects, we offer agency licenses and volume discounts. Contact our sales team for a custom quote. Development and staging environments are included free of charge with every license.
















{% endif %}
{% if title and title != "" %}
{{ title }}
{% endif %}
{% if excerpt and excerpt != "" %}
Steffen / Web designer –
Does what it should. I needed to use different CSS styles (colors, images) on different posts rather than one set for all posts. Works fine. I was also able to add the JavaScript code needed only on the checkout page and the thank-you page. If you need support for more post types such as portfolio, forums, jobs etc., you'll have to get the Pro version. For now, the Free version is enough for me.