Opened 21 years ago
Closed 19 years ago
#2352 closed enhancement (fixed)
Add ability to display yearly archives list
| Reported by: | stewart | Owned by: | westi |
|---|---|---|---|
| Priority: | normal | Milestone: | 2.1 |
| Component: | Template | Version: | 2.0 |
| Severity: | normal | Keywords: | has-patch wp_get_archives yearly commit |
| Cc: | Focuses: |
Description
Wordpress has daily, weekly, and monthly archive types, but strangely no yearly type.
Attachments (4)
Change History (12)
#1
@
21 years ago
- Component General → Template
- Keywords bg|has-patch added
- Milestone → 2.1
- Owner changed from to
- Severity normal → enhancement
- Status new → assigned
- Summary Yearly archives type → Add ability to display yearly archives list
I have updated the patch to use get_year_link instead of (get_settings('home') to ensure the archive links produced obey the current permalink rules.
I have also removed the MONTH(post_date) AS month from the query as it is not needed.
This looks good for 2.1 as it is an enhancement.
Note:
See TracTickets
for help on using tickets.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)
Patch to add yearly archive type