该插件尚未通过WordPress的最新3个主要版本进行测试。 当与较新版本的WordPress一起使用时,可能不再受到维护或支持,并且可能会存在兼容性问题。

Display Categories Widget

描述

Display Categories Widget will display Child categories on your sidebar. Can be placed on widget in sidebar.

Development

Our development is being tracked on GitHub URL. Please fork, code, raise pull request, suggest improvements on GitHub.

Features
1. Limit number of categories that appears.

  1. Exclude categories from display.

  2. Restrict levels of categories that can be shown.

  3. Display categories as list or dropdown.

  4. Hide categories that does not have any posts.

  5. Display/Hide number of posts available in categories.

  6. Display/Hide category description on hover in title attribute

技术支持

How to contact plugin support?

We support through https://wordpress.org/support/plugin/display-categories-widget and http://www.iteamweb.com/open-source-softwares/wordpress/wordpress-plugins/display-categories-widget/

Arbitrary section 1

屏幕截图

  • On the backend widget configuration can be made like this
  • This is how the widget will appear on your screen, you can add design to the class
  • Display categories with number of posts inside them

安装

  1. Upload display-categories-widget folder to the /wp-content/plugins/ directory
  2. 通过WordPress的的“Plugins”菜单激活插件
  3. Go to widgets page
  4. Drag and drop the widget where ever you need
  5. Choose the parent category to display the child categories in the front end

常见问题

Will the plugin show parent category?

Yes its optional, if you need to make parent category visible you can enable from the widget

Is the category sorted?

The sorting order is ascending and it sorts on the name of the category

Exclude categories does not work?

Check if you have entered the category id’s and not the category names.

Will this plugin work for PHP version 5.6?

Yes, this plugin will work for PHP5.6 and if you face any parse errors , please report in support section forum.

评价

2019 年 9 月 11 日
I was looking for such a plugin! So far so good, keep going this work!
2019 年 7 月 15 日 2 回复
I want to give five stars, this is a great widget for controlling which categories show, but it hasn't been update in a year and there hasn't been much of any response in support for a lot longer than that.. I am crossing my fingers, hoping the plugin author might show some interest, check it out, bring it current...? This review can change...
2019 年 3 月 20 日
For the support, 2 weeks and 6 days without answer, and because one year without update. And i am not alone to said this.
阅读所有25条评价

贡献者及开发者

“Display Categories Widget” 是开源软件。 以下人员对此插件做出了贡献。

贡献者

更新日志

3.1

  • Fixed warning for php 5.6 (Ternary operator updated) – Fixed: PHP Parse error: syntax error, unexpected ‘?’

3.0

  • Added default values to not initialized variables to avoid notes poping up in wp backend
  • Fixed deprecation warning for php 7.3 (create_function is deprecated)

2.2

  • Enable/disable display of category description
  • Code formatting
  • Removed Deprecated Constructor Method – Thanks https://github.com/frozzare
  • Added sorting option by name, id, post count

2.1.0

  • Ability to use more than 1 widget on same page with different parent categories
  • Code formatting

2.0.2

  • Bug fixes
  • Added a label for dropdown non-selection case

2.0.1

  • Removed deprecated WP_Widget

2.0.0

  • Updated a widget screenshot
  • Level of sub categories to be shown can be managed from widget settings
  • Exclude categories that you dont want to show on the front end

1.0.9

  • Added new screenshots

1.0.8

  • Displaying the list of categories in columnwise (Optional)

1.0.7

  • If nothing is selected then all categories will be displayed. Removal of deprecated functions

1.0.6

  • Optional display for Dropdown or List view of categories

1.0.5

  • Display Number of post in each categories

1.0.4

  • Display Empty categories Option

1.0.3

  • Display parent category show/hide option

1.0.2

  • Limit the number of categories that is displayed

1.0.1

  • Description Updated

1.0

  • Initial release.