DMG Categories Widget
v1.0dancoded · 2016年8月31日 上架
Displays categories as a list or dropdown jump-menu. With advanced options to add CSS classes and modify the title .
- 正在使用
- 10 以下
- 评分
- 暂无
- 累计下载
- 1,278
- 最近更新
- 2016年8月31日
贡献者
Display categories as a list of links or a dropdown jump-menu (automatically navigate to page when selected).
Includes advanced options to change the taxonomy, display post counts and the category hierarchy, change how they are ordered, add CSS styles and modify the title.
Replaces the built in Categories Widget (WP_Widget_Categories).
A hook is available to filter the title: dmg_categories_widget_title.
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_categories_widget_title' , 'myTitleFilter');
More information about this plugin can be found at http://dancoded.com/wordpress-plugins/categories-widget/.