이 플러그인은 최근 3개의 주요 워드프레스 출시와 시험 되지 않았습니다. 워드프레스의 좀 더 최근 버전으로 이용할 때 더 이상 관리되지 않고 지원되지 않고 호환성 문제가 있을 수 있습니다.

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 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.

스크린샷

  • Classic Text Widget on WordPress Admin Appearance/Widgets menu
  • Classic Text Widget added to Primary Sidebar

설치

  1. 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’)

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.

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.

후기

2017년 9월 12일
The default text widget broke my shortcodes. Thanks for providing an easily solution!
2017년 7월 20일
I was about to make this exact plugin. Thank you for putting this together. Works perfectly!
2017년 7월 15일
This bug in WP core and then this fix encompases all that is bad and all that is good about WP.
2017년 7월 3일
Cheers for the plugin. As much as I like visual editor functionality brought to widgets in WP 4.8, we DO need that classic functionality as well! Hope they will fix it one way or another in some WP 4.8.1 or something... So again, big thanks for the plugin!
모든 15 평가 읽기

기여자 & 개발자

“Classic Text Widget”(은)는 오픈 소스 소프트웨어입니다. 다음의 사람들이 이 플러그인에 기여하였습니다.

기여자

“Classic Text Widget”(이)가 3(으)로 번역되었습니다. 기여해 주셔서 번역자님께 감사드립니다.

자국어로 “Classic Text Widget”(을)를 번역하세요.

개발에 관심이 있으십니까?

코드 탐색하기는, SVN 저장소를 확인하시거나, 개발 기록RSS로 구독하세요.

변경이력

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.