Code Widget
Code widget help to add Short Code, PHP Code, HTML, and Simple Text in widget.
The facts
- Rating
- 4.9★ from 35
- Active installs
- 4k+
- Price
- Free
- Last updated
- 11 Jun 2022
- Added
- Mar 2018
- Requires WP
- 4.0
- Tested up to
- WP 6.1.0
- Requires PHP
- 7.0
- Downloads
- 61,091
Our analysis
AI-assistedCode Widget is a WordPress plugin that allows you to insert arbitrary Text/HTML and execute PHP code or shortcodes within a widget. It is designed for users who need to add custom code snippets to their site without altering theme files. Only users with the unfiltered_html role can insert unfiltered HTML and execute PHP code, ensuring that security is maintained for non-admin users.
This plugin is suitable for developers or advanced users who want to enhance their site's functionality through custom code in widgets. It provides a straightforward way to incorporate PHP and shortcodes into widget areas.
Best for: This plugin is best for developers or advanced users looking to add custom code to their WordPress widgets.
What it does well
- ✓Allows insertion of arbitrary Text/HTML
- ✓Enables execution of PHP code and shortcodes
- ✓Restricts unfiltered HTML usage to users with appropriate permissions
- ✓Developed and maintained by Sharaz Shahid
Where it falls short
- •Limited feature information available
- •Requires users to have specific permissions for PHP execution
Verdict
Code Widget offers a useful solution for adding custom code to widgets, but its functionality is limited to users with the correct permissions.
From the developer
Sharaz Shahid's own description of Code Widget, lightly tidied.
Code Widget is simple widget allows you to insert any arbitrary Text/HTML and run PHP Code or Short Code. This Widget parses PHP code into simple text and much more.
Only users with the unfiltered_html role will be allowed to insert unfiltered HTML. This includes PHP code, so users without admin or editor permissions will not be able to use this to execute code, even if they have widget editing permissions.
This plugin is developed and maintained by Sharaz Shahid