Hi, on my site, I have links to my monthly archives going back until the first entry in my blog 1 1/2 years ago. How do I make it so that only the last 6 months show up in that link list? I'd like to do this using MT only, no PHP - pretty please!
bmk
Nov 30 2002, 10:03 PM
You can use lastn="6" in your archivelist.
Anaisamy
Dec 1 2002, 08:26 AM
Wow, that was simple! Thanks so much! :-)
bmk
Dec 1 2002, 08:29 AM
I didn't realize that tag worked like that til a few weeks ago I came across that in the manual! hehe.
CODE
<MTArchiveList archive_type="Monthly" lastn="6">
cool. glad it's what you were looking for!
TimB652
May 1 2008, 02:02 PM
Ok, I have a follow-up question. I want to do the same thing only lastn isn't working. If I have lastn=5 I get the last 2 archive links, if lastn=8 I get the last 3, lastn=20 I get the last 7 - no rhyme or reason that I can see. Any idea what the problem is?