WordPress plugin
CSS & JavaScript Toolbox PLUS
CSS & JavaScript Toolbox PLUS offers a WordPress interface for writing and managing CSS, JavaScript, PHP, and HTML. Each code block pairs an editor with an assignment panel, where you choose the requests or site areas that should receive the code. Use CSS for page styling, PHP to add functionality, or JavaScript for page interactions and scripts such as analytics or chat widgets. Manage blocks in one dashboard instead of editing theme documents or relying on theme settings for front-end changes.
Code blocks combine editing and assignment
CSS & JavaScript Toolbox PLUS offers a WordPress interface for writing and managing CSS, JavaScript, PHP, and HTML. Each code block pairs an editor with an assignment panel, where you choose the requests or site areas that should receive the code. Use CSS for page styling, PHP to add functionality, or JavaScript for page interactions and scripts such as analytics or chat widgets. Manage blocks in one dashboard instead of editing theme documents or relying on theme settings for front-end changes.
Choose locations through content or request rules
The assignment panel includes pages, posts, custom posts, tags, and categories. Its auxiliary targets include the entire site, the website backend, all pages, all posts, recent posts, the blog index, all categories, search pages, archives, tag archives, author archives, attachment pages, and 404 error pages. You can select multiple locations for a block and assign multiple blocks to the same locations.
PLUS adds assignment options for shortcodes, widgets, and Gutenberg blocks, along with targeting by tags, URLs, and regular expressions. URL rules can be quicker to evaluate, while hierarchical targets, such as a category index and its subcategories, may require the corresponding assignment tabs.
PLUS tools for code libraries
Eight additional hooks provide more precise placement. The invert capability runs a block everywhere except the locations selected for exclusion. Editor tools include code autocompletion and options to beautify or minify code. Revisions help manage earlier versions of blocks, while backup and export/import options let you preserve or move the code library. The add-on is optimized to handle hundreds of code blocks and thousands of locations, including pages, posts, categories, and custom posts.
Create and assign a block
- Create a code block and choose CSS, JavaScript, PHP, or HTML.
- Enter the code in the editor.
- Use the assignment panel to select where it should execute.
- Review the selected locations and save the block.
- Manage additional blocks from the shared code and script library.