Make WordPress Core

Opened 20 years ago

Closed 13 years ago

#3567 closed enhancement (duplicate)

Synchronize options for functions that display lists

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

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 20 years ago.
wp_list_authors()
3567.category-template.php.diff​ (7.9 KB ) - added by rob1n 20 years ago.
wp_list_categories() and Walker_Category

Download all attachments as: .zip

Change History (23)

#1 @ryan
20 years ago

  • Owner changed from anonymous to ryan

Agreed.

#2 @ryan
20 years ago

  • Keywords hit-list added

#3 @rob1n
20 years ago

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

#4 @foolswisdom
20 years ago

  • Milestone 2.2 → 2.3

@rob1n
20 years ago

wp_list_categories() and Walker_Category

#5 @rob1n
20 years ago

  • Status assigned → new

#6 @rob1n
20 years ago

  • Status new → 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
20 years ago

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

#8 @rob1n
19 years ago

  • Status assigned → new

#9 @markjaquith
19 years ago

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

#10 @foolswisdom
19 years ago

  • Milestone 2.3 → 2.4 (next)

#11 @rob1n
19 years ago

  • Owner rob1n removed

#12 @ffemtcj
19 years ago

  • Milestone 2.5 → 2.6

#13 @thee17
18 years ago

  • Owner set to thee17
  • Status new → assigned

#14 @thee17
18 years ago

  • Milestone 2.6 → 2.7

#15 @thee17
18 years ago

  • Owner thee17 removed
  • Status assigned → new

#16 @matt
18 years ago

  • Milestone 2.7 → 2.9

#17 @Denis-de-Bernardy
18 years ago

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

still current?

#18 @Denis-de-Bernardy
18 years ago

  • Keywords needs-patch added; dev-feedback removed

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

#19 @Denis-de-Bernardy
18 years ago

  • Keywords 2nd-opinion removed

#20 @Denis-de-Bernardy
17 years ago

  • Milestone 2.9 → Future Release

#21 @johnbillion
13 years ago

  • Milestone Future Release
  • Resolution → duplicate
  • Status new → closed

Duplicate of #4969.

Note: See TracTickets for help on using tickets.