Make WordPress Core

Opened 18 years ago

Closed 11 years ago

#3567 closed enhancement (duplicate)

Synchronize options for functions that display lists

Reported by: randy's profile Randy Owned by:
Milestone: Priority: normal
Severity: normal Version:
Component: Template Keywords: needs-patch
Focuses: 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 17 years ago.
wp_list_authors()
3567.category-template.php.diff (7.9 KB) - added by rob1n 17 years ago.
wp_list_categories() and Walker_Category

Download all attachments as: .zip

Change History (23)

#1 @ryan
18 years ago

  • Owner changed from anonymous to ryan

Agreed.

#2 @ryan
17 years ago

  • Keywords hit-list added

#3 @rob1n
17 years ago

  • Owner changed from ryan to rob1n
  • Status changed from new to assigned

#4 @foolswisdom
17 years ago

  • Milestone changed from 2.2 to 2.3

@rob1n
17 years ago

wp_list_authors()

@rob1n
17 years ago

wp_list_categories() and Walker_Category

#5 @rob1n
17 years ago

  • Status changed from assigned to new

#6 @rob1n
17 years ago

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

#7 @rob1n
17 years ago

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

#8 @rob1n
17 years ago

  • Status changed from assigned to new

#9 @markjaquith
17 years ago

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

#10 @foolswisdom
17 years ago

  • Milestone changed from 2.3 to 2.4 (next)

#11 @rob1n
17 years ago

  • Owner rob1n deleted

#12 @ffemtcj
17 years ago

  • Milestone changed from 2.5 to 2.6

#13 @thee17
16 years ago

  • Owner set to thee17
  • Status changed from new to assigned

#14 @thee17
16 years ago

  • Milestone changed from 2.6 to 2.7

#15 @thee17
16 years ago

  • Owner thee17 deleted
  • Status changed from assigned to new

#16 @matt
16 years ago

  • Milestone changed from 2.7 to 2.9

#17 @Denis-de-Bernardy
15 years ago

  • Keywords dev-feedback 2nd-opinion added; hit-list removed

still current?

#18 @Denis-de-Bernardy
15 years ago

  • Keywords needs-patch added; dev-feedback removed

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

#19 @Denis-de-Bernardy
15 years ago

  • Keywords 2nd-opinion removed

#20 @Denis-de-Bernardy
15 years ago

  • Milestone changed from 2.9 to Future Release

#21 @johnbillion
11 years ago

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

Duplicate of #4969.

Note: See TracTickets for help on using tickets.