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.
- 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.
- What do I do if inPHP Widget does not show up in the widget admin console?
First, make sure that the plugin is enabled.
- Log in to the admin console
- Go to Plugins
- 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)?
- Verify that the plugin is enabled
- Some small bugs fixed
- Optimized code for faster loading