跳到内容

DMG Categories Widget

v1.0

dancoded · 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日
需要 WordPress 3.1+已测试到 4.6.30

贡献者

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

Plums

按场景查找 WordPress 插件。安装量、评分和兼容版本来自官方目录。

导航

说明

WordPress 是 WordPress Foundation 的商标。本站与 WordPress Foundation、Automattic 没有隶属关系。这里不托管插件文件,下载和安装以 WordPress.org 上的页面为准。

© 2026 Plums