{"id":70074,"date":"2017-06-11T19:20:00","date_gmt":"2017-06-11T19:20:00","guid":{"rendered":"https:\/\/wordpress.org\/plugins\/classic-text-widget\/"},"modified":"2019-04-29T17:05:55","modified_gmt":"2019-04-29T17:05:55","slug":"classic-text-widget","status":"publish","type":"plugin","link":"https:\/\/twd.wordpress.org\/plugins\/classic-text-widget\/","author":7333612,"comment_status":"closed","ping_status":"closed","template":"","meta":{"_crdt_document":"","version":"1.0.1","stable_tag":"1.0.2","tested":"5.2.24","requires":"4.8","requires_php":"","requires_plugins":"","header_name":"Classic Text Widget","header_author":"Victor Font Consulting Group, LLC.","header_description":"Adds the pre 4.8 Classic WordPress text widget just like the good old days.","assets_banners_color":"bbb2a9","last_updated":"2019-04-29 17:05:55","external_support_url":"","external_repository_url":"","donate_link":"","header_plugin_uri":"","header_author_uri":"https:\/\/victorfont.com\/","rating":5,"author_block_rating":0,"active_installs":2000,"downloads":20509,"num_ratings":15,"support_threads":0,"support_threads_resolved":0,"author_block_count":0,"sections":["description","installation","faq","changelog"],"tags":[],"upgrade_notice":[],"ratings":{"1":0,"2":0,"3":0,"4":0,"5":"15"},"assets_icons":{"icon-128x128.png":{"filename":"icon-128x128.png","revision":"1676091","resolution":"128x128","location":"assets"},"icon-256x256.png":{"filename":"icon-256x256.png","revision":"1676091","resolution":"256x256","location":"assets"}},"assets_banners":{"banner-1544x500.png":{"filename":"banner-1544x500.png","revision":"1676091","resolution":"1544x500","location":"assets"},"banner-772x250.png":{"filename":"banner-772x250.png","revision":"1676091","resolution":"772x250","location":"assets"}},"assets_blueprints":{},"all_blocks":[],"tagged_versions":["1.0.0","1.0.1","1.0.2"],"block_files":[],"assets_screenshots":{"screenshot-1.png":{"filename":"screenshot-1.png","revision":"1676100","resolution":"1","location":"assets"},"screenshot-2.png":{"filename":"screenshot-2.png","revision":"1676100","resolution":"2","location":"assets"}},"screenshots":{"1":"Classic Text Widget on WordPress Admin Appearance\/Widgets menu","2":"Classic Text Widget added to Primary Sidebar"},"jetpack_post_was_ever_published":false},"plugin_section":[],"plugin_tags":[142395,749,1721],"plugin_category":[],"plugin_contributors":[142366,142365],"plugin_business_model":[],"class_list":["post-70074","plugin","type-plugin","status-publish","hentry","plugin_tags-classic-text-widget","plugin_tags-text","plugin_tags-text-widget","plugin_contributors-carasmo","plugin_contributors-vfontj","plugin_committers-vfontj"],"banners":{"banner":"https:\/\/ps.w.org\/classic-text-widget\/assets\/banner-772x250.png?rev=1676091","banner_2x":"https:\/\/ps.w.org\/classic-text-widget\/assets\/banner-1544x500.png?rev=1676091","banner_rtl":false,"banner_2x_rtl":false},"icons":{"svg":false,"icon":"https:\/\/ps.w.org\/classic-text-widget\/assets\/icon-128x128.png?rev=1676091","icon_2x":"https:\/\/ps.w.org\/classic-text-widget\/assets\/icon-256x256.png?rev=1676091","generated":false},"screenshots":[{"src":"https:\/\/ps.w.org\/classic-text-widget\/assets\/screenshot-1.png?rev=1676100","caption":"Classic Text Widget on WordPress Admin Appearance\/Widgets menu"},{"src":"https:\/\/ps.w.org\/classic-text-widget\/assets\/screenshot-2.png?rev=1676100","caption":"Classic Text Widget added to Primary Sidebar"}],"raw_content":"<!--section=description-->\n<p>Brings back the classic WordPress text widget without TinyMCE. This is based on the code from WordPress Ver. 4.7.5<\/p>\n\n<p>Functionality is exactly the same as the pre-version 4.8 text widget. Additional default functionality includes shortcode execution and custom class filter.<\/p>\n\n<p>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.<\/p>\n\n<!--section=installation-->\n<ol>\n<li>Activate the plugin through the 'Plugins' menu in WordPress<\/li>\n<\/ol>\n\n<!--section=faq-->\n<dl>\n<dt>Do the original text widget filters work with the Classic Text Widget?<\/dt>\n<dd><p>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')<\/p><\/dd>\n<dt>Does the plugin support shortcodes?<\/dt>\n<dd><p>Yes, out of the box. To disable shortcode support, add remove_filter( 'classic_widget_text', 'do_shortcode' ) to your theme's function file.<\/p><\/dd>\n<dt>Does the plugin directly execute PHP?<\/dt>\n<dd><p>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.<\/p><\/dd>\n<dt>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?<\/dt>\n<dd><p>Yes, but you have to be very careful and do it with SQL. See this post for details about how to <a href=\"https:\/\/christinacreativedesign.com\/how-to-bulk-replace-the-4-8-wordpress-text-widget-with-the-classic-text-widget\/\">bulk replace<\/a>.<\/p><\/dd>\n\n<\/dl>\n\n<!--section=changelog-->\n<h4>1.0.2<\/h4>\n\n<p>Bumped \"Tested up to\" tag<\/p>\n\n<h4>1.0.1<\/h4>\n\n<p>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.<\/p>\n\n<p>Usage:<\/p>\n\n<p>add_filter( 'classic_text_widget_class', 'my_classic_text_widget_class' );\nfunction my_classic_text_widget_class( $class ) {\n    return 'my_classic_text_widget_class';\n}<\/p>\n\n<h4>1.0.0<\/h4>\n\n<ul>\n<li>Initial commit based on WordPress 4.7.5 Text Widget and plugin conversion by carasmo<\/li>\n<li>Restores the pre 4.8 Classic WordPress text widget just like the good old days.<\/li>\n<\/ul>","raw_excerpt":"The classic pre-WordPress version 4.8 text widget","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/twd.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin\/70074","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/twd.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin"}],"about":[{"href":"https:\/\/twd.wordpress.org\/plugins\/wp-json\/wp\/v2\/types\/plugin"}],"replies":[{"embeddable":true,"href":"https:\/\/twd.wordpress.org\/plugins\/wp-json\/wp\/v2\/comments?post=70074"}],"author":[{"embeddable":true,"href":"https:\/\/twd.wordpress.org\/plugins\/wp-json\/wporg\/v1\/users\/vfontj"}],"wp:attachment":[{"href":"https:\/\/twd.wordpress.org\/plugins\/wp-json\/wp\/v2\/media?parent=70074"}],"wp:term":[{"taxonomy":"plugin_section","embeddable":true,"href":"https:\/\/twd.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_section?post=70074"},{"taxonomy":"plugin_tags","embeddable":true,"href":"https:\/\/twd.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_tags?post=70074"},{"taxonomy":"plugin_category","embeddable":true,"href":"https:\/\/twd.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_category?post=70074"},{"taxonomy":"plugin_contributors","embeddable":true,"href":"https:\/\/twd.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_contributors?post=70074"},{"taxonomy":"plugin_business_model","embeddable":true,"href":"https:\/\/twd.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_business_model?post=70074"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}