Этот плагин не тестировался с последними 3 значительными выпусками WordPress. Скорее всего, он уже не поддерживается и может быть несовместим с текущими версиями WordPress.

PHP Text Widget

Описание

PHP Text Widget modifies the standard Text Widget of WordPress making it able to
execute PHP code.

The normal behaviour of the text widget is preserved so it can be activated without
fear.

That let the blog owner to control the text displayed
with PHP, eg. showing different ads on different posts, pages, categories and so on.

I’m using it on few blogs where a sidebar located ads has to be shown only for posts
in a particular category.

On plugin official page there are some examples.

Установка

  1. Put the plugin folder into [wordpress_dir]/wp-content/plugins/
  2. Go into the WordPress admin interface and activate the plugin
  3. Optional: go to the options page and configure the plugin

Часто задаваемые вопросы

See the plugin offical page.

Installation Instructions
  1. Put the plugin folder into [wordpress_dir]/wp-content/plugins/
  2. Go into the WordPress admin interface and activate the plugin
  3. Optional: go to the options page and configure the plugin

Отзывы

Works with WP 4.8.1

Works fine in the WP Text Widget to allow PHP code execution, like specifying relative paths in your WP website, e.g. «<?php bloginfo(‘wpurl’); ?>/wp-content/utility/goodreads.png»

Still Works

Really should be no reason why it would not.

Useful for custom code as well! Customization just keeps getting easier!

Perfect

Thank you so much — could not be simpler to use, does the trick just like that! 🙂

Посмотреть 21 отзыв

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

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

Участники

Перевести «PHP Text Widget» на ваш язык.

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

Browse the code, check out the SVN repository, or subscribe to the development log by RSS.

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

1.0.8

  • WP 4.1 compatibility check

1.0.7

  • Label fix

1.0.6

  • Compatibility checks

1.0.5

  • Улучшения

1.0.4

  • Small changes

1.0.3

  • Administrative styles and header

1.0.2

  • compatibility check with WP 3.4