Opened 17 years ago
Closed 11 years ago
#9025 closed enhancement (fixed)
wp_list_categories lacks the vital options of wp_get_archives
| Reported by: | jidanni | Owned by: | wonderboymusic |
|---|---|---|---|
| Priority: | normal | Milestone: | 4.4 |
| Component: | Taxonomy | Version: | 2.7 |
| Severity: | normal | Keywords: | has-patch |
| Cc: | Focuses: | template |
Description
To achieve
Archives: 2004 (2); 2003 (1); Categories: Elections (1); Iraq (1);
One needs
<p>Archives:<?php wp_get_archives('format=custom&show_post_count=1&type=yearly&after=;'); ?>
Categories:<?php echo str_replace('<br />',';', wp_list_categories('style=&show_count=1&echo=0'));?></p>
As you see, wp_list_categories lacks the vital options of
wp_get_archives, forcing us to resort to str_replace.
Note: I am talking about HTML and do not wish to talk about CSS.
Attachments (2)
Change History (11)
Note:
See TracTickets
for help on using tickets.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)
Looks like this will not make it for 2.8 in feature freeze