Opened 6 years ago

Last modified 4 years ago

#3567 new enhancement

Synchronize options for functions that display lists

Reported by: Randy Owned by:
Priority: normal Milestone: Future Release
Component: Template Version:
Severity: normal Keywords: needs-patch
Cc:

Description

It would be nice if wp_list_cats, get_archives, wp_list_pages, etc, all had "format" and "before" and "after" options :)

Attachments (2)

3567.author-template.php.diff (4.4 KB) - added by rob1n 6 years ago.
wp_list_authors()
3567.category-template.php.diff (7.9 KB) - added by rob1n 6 years ago.
wp_list_categories() and Walker_Category

Download all attachments as: .zip

Change History (22)

comment:1   ryan6 years ago

  • Owner changed from anonymous to ryan

Agreed.

comment:2   ryan6 years ago

  • Keywords hit-list added
  • Owner changed from ryan to rob1n
  • Status changed from new to assigned
  • Milestone changed from 2.2 to 2.3

rob1n6 years ago

wp_list_authors()

rob1n6 years ago

wp_list_categories() and Walker_Category

  • Status changed from assigned to new
  • Status changed from new to assigned

What do we want to unify? I'm thinking:

  • 'before' - before each item
  • 'after' - after each item
  • 'format' - 'html' => <ul><li></li></ul>, etc, anything else is just $before . $whatever . $after.

Add 'echo' (true|false) to that list, too.

  • Status changed from assigned to new

(In [5624]) Allow wp_list_authors() to optionally return. fixes #4323. see #3567.

  • Milestone changed from 2.3 to 2.4 (next)
  • Owner rob1n deleted
  • Milestone changed from 2.5 to 2.6
  • Owner set to thee17
  • Status changed from new to assigned
  • Milestone changed from 2.6 to 2.7
  • Owner thee17 deleted
  • Status changed from assigned to new
  • Milestone changed from 2.7 to 2.9
  • Keywords dev-feedback 2nd-opinion added; hit-list removed

still current?

  • Keywords needs-patch added; dev-feedback removed

i guess it is... wp_list_categories() among others

  • Keywords 2nd-opinion removed
  • Milestone changed from 2.9 to Future Release
Note: See TracTickets for help on using tickets.