Code Widget

Descripción

Code Widget is simple widget allow you to insert any arbitrary Text/HTML and run PHP Code or Short Code. This Widget parse 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.

Capturas

  • How short code work.
  • How PHP code work.
  • How HTML Mark add.
  • How Simple Text add and how auto paragraph work.

Preguntas frecuentes

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’s 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.

Reseñas

6 de junio de 2019
Works very well. Used it to get php code into Divi code modules.
Leer todas las 3 reseñas

Colaboradores y desarrolladores

«Code Widget» es un software de código abierto. Las siguientes personas han colaborado con este plugin.

Colaboradores

«Code Widget» ha sido traducido a 1 idioma local. Gracias a los traductores por sus contribuciones.

Traduce «Code Widget» a tu idioma.

¿Interesado en el desarrollo?

Revisa el código , echa un vistazo al repositorio SVN o suscríbete al registro de desarrollo por RSS.

Registro de cambios

1.0.3

  • Compatibility : 5.2.3 compatibility added

1.0.2

  • Bug Fix : Use of undefined constant CW_TEXT_DOMAIN
  • Compatibility : 5.0.0 compatibility added

1.0.1

  • read me update

1.0.0

  • Short Code Support Added
  • PHP Code Support Added
  • HTML Support Added
  • Simple Text Support Added
  • Auto app Paragraph check Added