Aquesta extensió no s’ha provat en les darreres 3 versions majors del WordPress. Segurament no està mantinguda o suportada, i pot tenir problemes de compatibilitat quan s’usa en versions recents del WordPress.

Safe PHP Code Widget


The usual Text widget allows you to insert arbitrary Text and/or HTML code. This allows that too, but also parses any PHP or JavaScript code in the text widget and executes it.

This plugin is based on “PHP Code Widget”, but now available for use by site administrators ONLY, which makes it more secure.

All PHP code must be enclosed in the standard php opening and closing tags ( <?php and ?> ) for it to be recognized and executed. Also JavaScript code must be enclosed in the <script> and </script> tags, as usual.


  • The widgets screen showing a Safe PHP Code Widget in use.
  • The output of the widget on the site.


  1. Upload safe-php-code-widget folder to the /wp-content/plugins/ directory.
  2. Activate the plugin through the ‘Plugins’ menu in WordPress.


No questions yet – no answers yet.


No hi ha ressenyes per a aquesta extensió.

Col·laboradors i desenvolupadors

«Safe PHP Code Widget» és programari de codi obert. La següent gent ha col·laborat en aquesta extensió.


Registre de canvis


  • First version in the repository