Make WordPress Core

Opened 8 years ago

Closed 6 years ago

Last modified 3 years ago

#4285 closed enhancement (duplicate)

Improve the categories widget

Reported by: rob1n Owned by:
Milestone: Priority: normal
Severity: normal Version:
Component: Widgets Keywords:
Focuses: Cc:

Description (last modified by rob1n)

Extend the categories widget to use all of wp_list_categories()'s options.


  • Customizable sort column
  • Hierarchical display
  • Toggle showing category counts
  • Toggle showing empty categories
  • Toggle using description for title
  • Add showing categories which are child of a certain category
  • Toggle showing feed
  • Exclude comma-separated categories
  • Multiple instances

Attachments (2)

4285-multiple.diff (7.8 KB) - added by rob1n 8 years ago.
adds support for multiple instances
4285-multiple-2.diff (3.4 KB) - added by rob1n 8 years ago.

Download all attachments as: .zip

Change History (22)

comment:1 @rob1n8 years ago

  • Status changed from new to assigned

comment:2 @ryan8 years ago

For the feed stuff, instead of allowing arbitrary feed images, always use our included rss.png. That image is well known now. Perhaps we should collapse all of the feed options into a "Show Feeds" option that simply controls whether the rss.png image (linked to the category feed) is shown next to each category.

comment:3 @rob1n8 years ago

Makes sense.

comment:4 @rob1n8 years ago

  • Description modified (diff)

comment:5 @rob1n8 years ago

  • Description modified (diff)

@rob1n8 years ago

adds support for multiple instances

comment:6 @rob1n8 years ago

(In [5669]) Add support for multiple instances of the category widget. see #4285

comment:7 @rob1n8 years ago

  • Description modified (diff)

@rob1n8 years ago

comment:8 @rob1n8 years ago

(In [5673]) Some more multiple category widget stuff. see #4285

comment:9 @rob1n8 years ago

  • Milestone changed from 2.2.1 to 2.2.2

comment:10 @rob1n8 years ago

(In [5675]) Revert multiple category stuff. see #4285

comment:11 @ryan8 years ago

Changing the category widget's options array breaks existing category widgets. Some upgrade code is needed.

comment:12 @ryan8 years ago

Got it fixed on wpcom. I'll merge it over.

comment:13 @ryan8 years ago

(In [5717]) Upgrade code for multiple category widgets. Props Andy. see #4285

comment:14 @foolswisdom8 years ago

  • Milestone changed from 2.2.2 to 2.3 (trunk)

comment:15 @foolswisdom8 years ago

  • Milestone changed from 2.3 to 2.5 (future)

comment:16 @rob1n8 years ago

  • Owner rob1n deleted
  • Status changed from assigned to new

comment:17 @ryan7 years ago

  • Component changed from General to Widgets

comment:19 @Denis-de-Bernardy6 years ago

  • Milestone 2.9 deleted
  • Resolution set to duplicate
  • Status changed from new to closed

closing this as dup of #9780, as all of the remaining feature requests could then be done using a plugin.

comment:20 @helenyhou3 years ago

#22729 was marked as a duplicate.

Note: See TracTickets for help on using tickets.