AI助手支持GPT4.0
Display categories as a list of links or a dropdown jump-menu (automatically navigate to page when selected).
将类别显示为链接列表或下拉菜单(选择时自动导航至页面)。 p>
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.
包括高级选项,可用于更改分类,显示帖子计数和类别层次结构,更改其排序方式,添加CSS样式并修改标题。 p>
Replaces the built in Categories Widget (WP_Widget_Categories).
替换内置的类别小部件(WP_Widget_Categories)。 p>
A hook is available to filter the title: dmg_categories_widget_title.
dmg_categories_widget_title
可以使用钩子来过滤标题: dmg_categories_widget_title code>。 p>For example, to change the title on a single page or post, you could add this to your functions.php file:例如,要在单个页面或帖子上更改标题,可以将其添加到functions.php文件中: p>function myTitleFilter( $title ) { if( is_singular() ) { return "$title"; function myTitleFilter($ title){if(is_singular()){返回“ $ title strong>”; } else { return $title; } else {返回$ title; } } add_filter( 'dmg_categories_widget_title' , 'myTitleFilter');}} add_filter('dmg_categories_widget_title','myTitleFilter'); code> pre>More information about this plugin can be found at http://dancoded.com/wordpress-有关此插件的更多信息,请访问 http://dancoded.com/wordpress-plugins/categories-widget/.插件/类别小工具/ 。 p>
dmg_categories_widget_title code>。 p>For example, to change the title on a single page or post, you could add this to your functions.php file:例如,要在单个页面或帖子上更改标题,可以将其添加到functions.php文件中: p>function myTitleFilter( $title ) { if( is_singular() ) { return "$title"; function myTitleFilter($ title){if(is_singular()){返回“ $ title strong>”; } else { return $title; } else {返回$ title; } } add_filter( 'dmg_categories_widget_title' , 'myTitleFilter');}} add_filter('dmg_categories_widget_title','myTitleFilter'); code> pre>More information about this plugin can be found at http://dancoded.com/wordpress-有关此插件的更多信息,请访问 http://dancoded.com/wordpress-plugins/categories-widget/.插件/类别小工具/ 。 p>
For example, to change the title on a single page or post, you could add this to your functions.php file:
例如,要在单个页面或帖子上更改标题,可以将其添加到functions.php文件中: p>
function myTitleFilter( $title ) { if( is_singular() ) { return "$title"; function myTitleFilter($ title){if(is_singular()){返回“ $ title strong>”; } else { return $title; } else {返回$ title; } } add_filter( 'dmg_categories_widget_title' , 'myTitleFilter');}} add_filter('dmg_categories_widget_title','myTitleFilter'); code> pre>More information about this plugin can be found at http://dancoded.com/wordpress-有关此插件的更多信息,请访问 http://dancoded.com/wordpress-plugins/categories-widget/.插件/类别小工具/ 。 p>
function myTitleFilter($ title){if(is_singular()){返回“ $ title strong>”; } else { return $title; } else {返回$ title; } } add_filter( 'dmg_categories_widget_title' , 'myTitleFilter');}} add_filter('dmg_categories_widget_title','myTitleFilter');
} else { return $title;
} else {返回$ title;
} } add_filter( 'dmg_categories_widget_title' , 'myTitleFilter');
}} add_filter('dmg_categories_widget_title','myTitleFilter');
code> pre>
More information about this plugin can be found at http://dancoded.com/wordpress-有关此插件的更多信息,请访问 http://dancoded.com/wordpress-plugins/categories-widget/.插件/类别小工具/ 。 p>
有关此插件的更多信息,请访问 http://dancoded.com/wordpress-plugins/categories-widget/.
plugins/categories-widget/
插件/类别小工具/
/wp-content/plugins/dmg-categories-widget
/ wp-content / plugins / dmg-categories-widget code>目录,或直接通过WordPress插件屏幕安装插件。 li>Activate the plugin through the ‘Plugins’ page in the WordPress admin area通过WordPress管理区域中的“插件”页面激活插件 li>Drag onto any active sidebar on the ‘Appearance > Widgets’ page拖动到“外观>小部件”页面上任何活动的侧边栏上 li>
ol>
原文出处:http://www.sanshu.cn/a/11309.html
群主管理都是支付大佬