Classic Text Widget
Brings back the classic WordPress text widget without TinyMCE. This is based on the code from WordPress Ver. 4.7.5 Functionality is exactly the same as the pre-version 4.8 text widget. Additional default functionality includes shortcode execution and custom class filter. Note: This widget uses PHP n
Brings back the classic WordPress text widget without TinyMCE. This is based on the code from WordPress Ver. 4.7.5
Functionality is exactly the same as the pre-version 4.8 text widget. Additional default functionality includes shortcode execution and custom class filter.
Note: This widget uses PHP namespaces to prevent conflicts with other widgets of a similar nature. PHP namespaces are only supported in PHP Version 5.3.0 and higher. If your site uses a PHP version earlier than 5.3.0, do not install this widget unless your PHP version is upgraded first.
Screenshots & previews.
- 01Activate the plugin through the ‘Plugins’ menu in WordPress
Frequently asked questions.
Do the original text widget filters work with the Classic Text Widget?
Yes and no. Filters that apply to the widget title remain the same to maintain compatibility across WordPress. Filters that apply to to the widget’s content now use add_filter(‘classic_widget_text’, ‘my_function’)
Does the plugin support shortcodes?
Yes, out of the box. To disable shortcode support, add remove_filter( ‘classic_widget_text’, ‘do_shortcode’ ) to your theme’s function file.
Does the plugin directly execute PHP?
No, it does not directly support executing PHP. The widget does support shortcodes however. If you want to execute PHP in this widget, write your code as a shortcode and it will run.