Code Slots
- Author
- KD Web
- Version
- 1.0.0
- Requires
- 6.0.0
- Tested
- 6.8.1
- Requires PHP
- 8.0.0
A simple and lightweight WordPress plugin that allows administrators to insert custom HTML, CSS, and JavaScript code snippets into specific sections of the HTML output of the website. This plugin provides an easy-to-use interface for managing code that is injected into the <head>, just after the <body> tag, or just before the </body> tag.
Features
- Insert custom code into the <head>, just after the <body> tag, or before the </body> tag.
- Supports HTML, CSS, and JavaScript code.
- Syntax highlighting with CodeMirror for an enhanced editing experience.
- Securely saves and sanitizes code snippets to prevent malicious input.
How to Use
- Install and activate the Code Slots plugin.
- Navigate to the "Code Slots" settings page in the WordPress admin dashboard.
- Enter your custom code snippets into the provided fields for the sections.
- Save your changes, and the code will be automatically injected into the appropriate sections of your website.
Benefits
- Allows for easy customization of your website's HTML output without modifying theme files.
- Improves workflow by centralizing code snippet management in the WordPress admin dashboard.
- Supports advanced use cases, such as adding tracking scripts, custom styles, or third-party integrations.
Changelog
1.0.0
Released
Download