WordPress.org

Make WordPress Core

Opened 9 years ago

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

Namely:

  • 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 9 years ago.
adds support for multiple instances
4285-multiple-2.diff (3.4 KB) - added by rob1n 9 years ago.

Download all attachments as: .zip

Change History (22)

#1 @rob1n
9 years ago

  • Status changed from new to assigned

#2 @ryan
9 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.

#3 @rob1n
9 years ago

Makes sense.

#4 @rob1n
9 years ago

  • Description modified (diff)

#5 @rob1n
9 years ago

  • Description modified (diff)

@rob1n
9 years ago

adds support for multiple instances

#6 @rob1n
9 years ago

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

#7 @rob1n
9 years ago

  • Description modified (diff)

#8 @rob1n
9 years ago

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

#9 @rob1n
9 years ago

  • Milestone changed from 2.2.1 to 2.2.2

#10 @rob1n
9 years ago

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

#11 @ryan
9 years ago

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

#12 @ryan
9 years ago

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

#13 @ryan
9 years ago

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

#14 @foolswisdom
9 years ago

  • Milestone changed from 2.2.2 to 2.3 (trunk)

#15 @foolswisdom
9 years ago

  • Milestone changed from 2.3 to 2.5 (future)

#16 @rob1n
8 years ago

  • Owner rob1n deleted
  • Status changed from assigned to new

#17 @ryan
7 years ago

  • Component changed from General to Widgets

#19 @Denis-de-Bernardy
7 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.

#20 @helenyhou
3 years ago

#22729 was marked as a duplicate.

Note: See TracTickets for help on using tickets.