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]
Step 1
Plugin installation is quite easy.
- Download zip file and Extract it
- Upload
enable-shortcode-and-php-support-in-text-widget
folder to your /wp-content/plugins/ folder.
- Go to the 'Plugins' page in the menu and activate the plugin.
Alternatively, search and install the plugin from your WordPres dashboard.
Step 2
- Go to Wodpress Admin Panel > Setting > Shortcode and PHP support in Text widget,
- Configure the plugin option.