How To Insert And Execute PHP Code Using A Text Widget In WordPress ?

All WordPress bloggers know about Text Widget. It is present on every WordPress site and we use it for showing arbitrary Text and HTML code on your blog’s sidebar or any other widget area you have in your theme. Earlier we discussed about a plugin that allows you to use WordPress Visual Editor and TinyMCE buttons in Text Widget. This article is about another widget plugin that allows you to use PHP code (including HTML too) in a text widget added by this plugin.

So if you are looking for an easy possible way to use PHP code in a text widget that you can use in your sidebar then install and activate PHP Code Widget. This plugin adds an new Widget you can use by visiting Dashboard -> Appearance -> Widgets page. It makes it easier for for you to migrate to a widget-based theme.

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.