For a WordPress newbie inserting a PHP script inside the WordPress template files isn’t that easy. Normally WordPress widgets doesn’t allow executing PHP code on inside the widget and if you try to insert you will encounter with a weird error. So what could be the solution to insert PHP codes? Well, recently I found out a very nice WordPress plugin that enables adding PHP codes on your WordPress sidebar and that is PHP Code Widget.
PHP Code Widget is an easy to use plugin through which you can execute PHP codes. A simple tool for WordPress newbies to do some great things. To install the plugin, just search for PHP Code Widget on Plugins > Add New from your WordPress dashboard. After activating the plugin, go to Widgets and there you can see the widget “PHP Code”. Now drop the widget to your favorite location and insert any PHP code which you would like to execute.
If you face any trouble in installing this plugin let us know. The plugin is compatible upto 3.0.1.