Mix HTML and PHP in a widget with mobile support.
As of April 2026, Byte's PHP Code Widget is a WordPress php plugin with 10 active installations and a 5/5 rating from 1 reviews. It has been downloaded 2.8K+ times in total. Requires WordPress 3.4+ and PHP false+. Available on WordPress.org since 2013. Last updated 12 years ago — may have compatibility concerns. Top alternative: WPCode – Insert Headers and Footers +….
This is a widget plugin that allow’s you to mix PHP and html code with mobile
support. Two text area’s are provided. The first is the standard “Title”.
The one named “Code:” can mix PHP and html. Two checkboxes allow you to choose
before and/or after posts. No limit on the number of widgets.
WordPress version 3.4 and higher has defined a function called wp_is_mobile().
This can be used inside your code mix to perform certain actions if the
browser is mobile. Mobile support is via wp_is_mobile() function which returns
true if on a mobile browser. See the WordPress API for more information.
Dynamic title support means that you can name your widget using the title
field and not have it displayed in the output. This is useful to give
your widgets mea…
| WordPress | 3.4+ requiredTested up to 3.7.41 |
| PHP | false+ required |
Plugin data sourced from WordPress.org. Analysis and metrics by PluginSift.