Opened 7 years ago
Closed 6 years ago
#2352 closed enhancement (fixed)
Add ability to display yearly archives list
| Reported by: |
|
Owned by: |
|
|---|---|---|---|
| Priority: | normal | Milestone: | 2.1 |
| Component: | Template | Version: | 2.0 |
| Severity: | normal | Keywords: | has-patch wp_get_archives yearly commit |
| Cc: |
Description
Wordpress has daily, weekly, and monthly archive types, but strangely no yearly type.
Attachments (4)
Change History (12)
comment:1
westi
— 7 years ago
- Component changed from General to Template
- Keywords bg|has-patch added
- Milestone set to 2.1
- Owner changed from anonymous to westi
- Severity changed from normal to enhancement
- Status changed from new to assigned
- Summary changed from Yearly archives type to 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.
comment:6
snakefoot
— 6 years ago
- Milestone changed from 2.1 to 2.0.eventually
- Resolution fixed deleted
- Status changed from closed to reopened
Could this be applied to the 2.0 branch ? Every time a security fix comes for 2.0, then I have to re-apply this as my blog isn't getting any younger.
Patch to add yearly archive type