Beschreibung
Bringt das klassische WordPress Text-Widget ohne TinyMCE zurück. Es basiert auf dem Code von WordPress in der Version 4.7.5.
Der Funktionsumfang entspricht genau dem Text-Widget der Version vor 4.8. Zusätzliche Standardfunktionen umfassen die Ausführung von Shortcodes und einen anpassbaren Klassen-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
Installation
- Activate the plugin through the ‚Plugins‘ menu in WordPress
FAQ
- 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‘)
- Unterstützt das Plugin 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.
- I have a lot of text widgets on my site, is there a way to bulk transfer the content from the new WordPress text widget and place it into the Classic Text Widget?
-
Yes, but you have to be very careful and do it with SQL. See this post for details about how to bulk replace.
Rezensionen
Mitwirkende & Entwickler
„Classic Text Widget“ ist Open-Source-Software. Folgende Menschen haben an diesem Plugin mitgewirkt:
Mitwirkende„Classic Text Widget“ wurde in 3 Sprachen übersetzt. Danke an die Übersetzerinnen und Übersetzer für ihre Mitwirkung.
Übersetze „Classic Text Widget“ in deine Sprache.
Interessiert an der Entwicklung?
Durchstöbere den Code, sieh dir das SVN Repository an oder abonniere das Entwicklungsprotokoll per RSS.
Änderungsprotokoll
1.0.2
Bumped „Tested up to“ tag
1.0.1
Added filter so you can provide your own custom class for the widget. If you choose not to create your own class, the default secondary class is custom-classic-textwidget.
Usage:
add_filter( ‚classic_text_widget_class‘, ‚my_classic_text_widget_class‘ );
function my_classic_text_widget_class( $class ) {
return ‚my_classic_text_widget_class‘;
}
1.0.0
- Initial commit based on WordPress 4.7.5 Text Widget and plugin conversion by carasmo
- Restores the pre 4.8 Classic WordPress text widget just like the good old days.