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

DMG Text Widget

설명

DMG Text Widget replaces the standard text widget with one that includes advanced options to apply a CSS class, add paragraphs, apply shortcodes, hide the title and make the title a link.

Two hooks are available to filter the title and text; dmg_text_widget_title for the title and dmg_text_widget_text for the text.

For example, to change the title on a single page or post, you could add this to your functions.php file:

function myTitleFilter( $title )
{
    if( is_singular() )
    {
        return "<strong>$title</strong>";
    }
    else
    {
        return $title;      
    }
}
add_filter( 'dmg_text_widget_title' , 'myTitleFilter');

More information about this plugin can be found at http://dancoded.com/tag/dmg-text-widget/.

Adding CSS Class(es)

Enter strings, either space or comma separated, which will be applied as CSS classes to the widget wrapper. These classes are sanitized using the sanitize_html_class() function built in to WordPress.

Make the Title a link

Enter a valid URL to make the title a link.

Automatically add paragraphs

This setting automatically adds paragraph tags to any text. This uses the WordPress wpautop() function.

Apply shortcodes

This setting processes the text and applies any shortcodes found.

Show the Title

This setting controls the visibility of the widget title. If unchecked, the title (including the before_title and after_title code defined when registering the sidebar) will not be displayed.

스크린샷

설치

  1. Upload the plugin files to the /wp-content/plugins/dmg-text-widget directory, or install the plugin through the WordPress plugins screen directly.
  2. Activate the plugin through the ‘Plugins’ page in the WordPress admin area
  3. Drag onto any active sidebar on the ‘Appearance > Widgets’ page
  4. Click on the ‘Show Advanced’ link in the widget to change advanced options.

후기

이 플러그인에 대한 평가가 없습니다.

기여자 & 개발자

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

기여자

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

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

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

변경이력

1.1

  • Added option to make the title a link by adding a URL
  • Tested with WordPress 4.6
  • Corrected typo’s in readme.txt
  • Update readme.txt

1.0.1

  • Corrected typos in readme.txt

1.0

  • Initial version