Code Widget
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
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
Screenshots & previews.
Frequently asked questions.
Short Code supported ?
Very simple add [your short code].If you want to see how short code work in this widget see screen shot.
Can we run PHP Code in this widget ?
Yes, All PHP code must be enclosed in the standard php opening and closing tags ( <?php and ?> ) for it to be recognized and executed. Please See screen shot to check how PHP Code work.
There are some kind of error code-widget.php(188) : eval()’d code on line 6
That means your PHP code is incorrect or otherwise broken.
Can We add Simple HTML Markup ?
just simple add html markup which you want display in widget. See See Screen shot for more help.
Yes, Simple Text also Work in Code Widget ?
As our normal routine we insert any text in widget.
There is any option to add auto Paragraph tag ?
yes check widget setting if you want to add auto paragraph tag for show some beauty and cleanness.