Linux 软件免费装

DMG Text Widget

开发者 dancoded
更新时间 2016年8月23日 05:11
捐献地址: 去捐款
PHP版本: 3.1 及以上
WordPress版本: 4.6
版权: GPL-3.0 or later
版权网址: 版权信息

标签

widget css shortcodes text widget

下载

1.0 1.0.1 1.1

详情介绍:

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

安装:

  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.

更新日志:

1.1 1.0.1 1.0