Enable Shortcode and PHP in Text widget

Description

By default, the Text widget only support text and HTML. With this plugin activated, PHP and shortcode would be supported.

To execute PHP in text Widget, ensure the PHP code to be executed is encapsulated in between PHP opening and closing tag <?php ... ?>

More information and documentation at http://w3guy.com/shortcode-php-support-wordpress-text-widget/ for the more information.

See Also

  • ProfilePress: A shortcode based WordPress form builder that makes building custom login, registration and password reset forms stupidly simple. More info here
  • OmnipayWP: Payment gateways for WordPress including Easy Digital Downloads & WooCommerce plugins.

Translators

  • Spanish (es_ES) – Andrew Kurtis [andrewk@webhostinghub.com]

Screenshots

  • Plugin settings
  • Text Widget settings
  • Output of executed PHP and shortcode

Installation

Step 1

Plugin installation is quite easy.

  1. Download zip file and Extract it
  2. Upload enable-shortcode-and-php-support-in-text-widget folder to your /wp-content/plugins/ folder.
  3. Go to the ‘Plugins’ page in the menu and activate the plugin.

Alternatively, search and install the plugin from your WordPres dashboard.

Step 2

  1. Go to Wodpress Admin Panel > Setting > Shortcode and PHP support in Text widget,
  2. Configure the plugin option.

FAQ

Installation Instructions

Step 1

Plugin installation is quite easy.

  1. Download zip file and Extract it
  2. Upload enable-shortcode-and-php-support-in-text-widget folder to your /wp-content/plugins/ folder.
  3. Go to the ‘Plugins’ page in the menu and activate the plugin.

Alternatively, search and install the plugin from your WordPres dashboard.

Step 2

  1. Go to Wodpress Admin Panel > Setting > Shortcode and PHP support in Text widget,
  2. Configure the plugin option.
How does the plugin work?

The plugin is quite easy to use. Go to the settings page and check the options to activate.
Visit my blog w3guy.com for the more information.

Reviews

Works but has annoying nag message at top of all admin pages

Nice plugin, I like that it has a couple of settings so you can uncheck the support for shortcodes if you’re using a 4.9+ version of WP which now natively supports shortcodes….

However, the ‘nag’ message about another plugin by the developer is highly annoying and does not have an easy way to dismiss as most other notifications do.

I’d be happy to upgrade my opinion and review if the next update to this plugin provides a way to dismiss this message. As is, I found annoying enough to replace it with a different plugin.

Worked like a charm!

Honestly I am not actually using your plugin, rather the code behind it. I knew this was possible, just couldn’t figure out the correct filters. This plugin saved me a ton of research. I’ll be dropping those two code snippets into all my themes moving forwards! Nice work…

Read all 13 reviews

Contributors & Developers

“Enable Shortcode and PHP in Text widget” is open source software. The following people have contributed to this plugin.

Contributors

Changelog

1.2.5

  • Make admin notice dismiss button more obvious.

1.2.4

  • Small fix and improvement.

1.2.3

  • Update plugin to be compatibile with latest WordPress after many years.

1.2.2

  • Minor bug fix

1.2.1

  • Spanish translation added

1.2

  • Translation ready

1.1

  • Bug fixes

1.0

  • Initial release.