This plugin hasn’t been updated in over 2 years. It may no longer be maintained or supported and may have compatibility issues when used with more recent versions of WordPress.

PHP Text Widget

Description

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.

Installation

  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

FAQ

See the plugin offical page.

Reviews

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! 🙂

Read all 21 reviews

Contributors & Developers

“PHP Text Widget” is open source software. The following people have contributed to this plugin.

Contributors

Translate “PHP Text Widget” into your language.

Interested in development?

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

Changelog

1.0.8

  • WP 4.1 compatibility check

1.0.7

  • Label fix

1.0.6

  • Compatibility checks

1.0.5

  • Improvements

1.0.4

  • Small changes

1.0.3

  • Administrative styles and header

1.0.2

  • compatibility check with WP 3.4