Closed (fixed)
Project:
Archive
Version:
5.x-1.7
Component:
Code
Priority:
Normal
Category:
Feature request
Assigned:
Unassigned
Reporter:
Created:
13 Nov 2007 at 06:51 UTC
Updated:
18 Jan 2008 at 19:51 UTC
How can I change title of archive page from "Archive - Dec" to "Archive - December"?
Thanks.
Comments
Comment #1
Susurrus commentedCurrently the way to change the title is at the top of archive_page() where the title is being set. It grabs the month values from a function called _get_month_names(). You should remove this call from the top of archive_page() and replace it with an array of the month names you would like to use (be sure to leave the first element in the array an empty string!).
Comment #2
SolomonGifford commentedMay I suggest a different solution?
I would like to change the title based on other scenarios. The point is, the title should be themed.
Change the lines:
to:
Then add the function:
This allows the theme to override the title!
Comment #3
Susurrus commentedThis's fixed in the development branch.
Comment #4
Susurrus commentedComment #5
SolomonGifford commentedThanks Susurrus!
Comment #6
(not verified) commentedAutomatically closed -- issue fixed for two weeks with no activity.