Enable Shortcode and PHP in Text widget

Описание

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]

Скриншоты

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

Установка

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.

Отзывы

08.08.2018
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.
03.09.2016
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...
Посмотреть все 13 отзывов

Участники и разработчики

«Enable Shortcode and PHP in Text widget» — проект с открытым исходным кодом. В развитие плагина внесли свой вклад следующие участники:

Участники

Перевести «Enable Shortcode and PHP in Text widget» на ваш язык.

Заинтересованы в разработке?

Посмотрите код, проверьте SVN репозиторий, или подпишитесь на журнал разработки по RSS.

Журнал изменений

1.2.7

  • Fixed Parse error: syntax error, unexpected ‘[‘ for PHP less than 5.4

1.2.6

  • Improve compatibility with WordPress 5.0

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.