Limiting the list of archives in wordpress based on date
Posted
by Gaurav
on Stack Overflow
See other posts from Stack Overflow
or by Gaurav
Published on 2010-05-06T10:36:34Z
Indexed on
2010/05/06
12:58 UTC
Read the original article
Hit count: 179
I am using wordpress and I am displaying my archives list in a sidebar using the function
wp_get_archives('type=monthly');
I have posts from Feb 2005 to April 2010 but I want to display June 2009 onwards links. (i.e. june 2009, july 2009, ....april 2010).
How do I prevent Feb 2005 - may 2005 from being displayed in the archives list.
(Please don't suggest adding a limit i.e. wp_get_archives('type=daily&limit=15'); . That will not solve my problem)
© Stack Overflow or respective owner