PHP Code Widget
Description
This plugin allows you to insert arbitrary text and HTML code in a widget, while also enabling the execution of PHP code. It is particularly useful for those migrating to a widget-based theme.
However, caution is advised as this plugin should not be used long term. Anyone with access to edit the widgets can execute arbitrary PHP code, which poses security risks.
To use PHP code, it must be enclosed in the standard PHP opening and closing tags. Only users with the unfiltered_html role can insert unfiltered HTML, including PHP code, ensuring that users without admin or editor permissions cannot execute code.
Other Notable Features
Here are a few other notable features of this free PHP Code Widget plugin.
Screenshots
FAQ
That error means that your PHP code is incorrect or otherwise broken.
Contributors and developers
“PHP Code Widget” is open source software. The following people have contributed to this plugin.
WPS
6.38
Average
Ratings
4.7 out of 5 | 61Version
2.4Last updated
3 years agoActive installations
90,000+WordPress version
5.9.12 or higherPHP version
or higherLanguages
25Tags
Execphp,Php,WidgetOther plugins you might like
WPCode – Insert Headers and Footers + Custom Code Snippets – WordPress Code Manager
By Syed Balkhi
WPS
7.51
Very Good
1.8k+reviews
active installation
Tested with
6.9.4Redux Framework
By David Anderson / Team Updraft
WPS
6.99
Average
272+reviews
active installation
Tested with
6.9.4Code Snippets
By Code Snippets Pro
WPS
7.3
Very Good
494+reviews
active installation
Tested with
6.9.4Meta Box
By Meta Box
WPS
7.02
Very Good
161+reviews
active installation
Tested with
6.9.4CMB2
By Justin Sternberg
WPS
6.98
Average
91+reviews
active installation
Tested with
6.4.8PHP Compatibility Checker
By WP Engine
WPS
6.77
Average
131+reviews
active installation
Tested with
6.4.8