This plugin hasn’t been tested with the latest 3 major releases of WordPress. It may no longer be maintained or supported and may have compatibility issues when used with more recent versions of WordPress.

inPHP Widget


inPHP widget adds a new text widget that even allows PHP to be included!
The text widget that comes with the default WordPress installation doesn’t allow
you to include PHP code in its text Widget but this plugin adds a new widget called ‘inPHP Widget’,
which will allow you to include PHP code, as well as plain text and HTML.

Features included:

  • Add PHP code to both the widget title and the widget body.

Warning: This widget provides great flexibility in customizing your sidebar.
It achieves this by automatically evaluating any included PHP included in the title or the body of the widget.
Care should be taken when including PHP code in the sidebar,
as with anywhere else in the WordPress system.


* Login to Wp-Admin
* Go to Appearance | Widgets.
* Select and drag "inPHP" to your Sidebar list.
* Click the down arrow to edit the widget.
* When done editing, click Save.

You may enter PHP code both in the title and the body.


If you want to customize it a little more using CSS.
The class name is ‘widget inphp’.
With this you can customize it a little more.


  • Download the “inPHP” and unzip it.
    • Copy “inPHP.php” to the wp-content/plugins directory.
    • Login to Wp-admin and go to Plugins and enable “inPHP”.


What do I do if inPHP Widget does not show up in the widget admin console?

First, make sure that the plugin is enabled.

  1. Log in to the admin console
  2. Go to Plugins
  3. Verify that “inPHP Widget” is in the list. If it is not, then wordpress doesn’t see the plugin. Is it in your plugin directory (wp-content/plugins)?
  4. Verify that the plugin is enabled

Contributors & Developers

“inPHP Widget” is open source software. The following people have contributed to this plugin.

Translate “inPHP Widget” into your language.

Interested in development?

Browse the code, check out the SVN repository, or subscribe to the development log by RSS.


  • Some small bugs fixed
  • Optimized code for faster loading