Help - Search - Members - Calendar
Full Version: Monthly archive on index
Movable Type Community Forum > Additional Resources > Tips and Tricks
kj11
How do I set the index page to show only a month (ie Jan only) archive?
girlie
CODE
<MTArchiveList archive_type="Monthly" lastn="1">
<MTEntries>
(other MTEntry* tags you want here)
</MTEntries>
</MTArchiveList>


That will give you the most recent month's entries, assuming you have Monthly Archives enabled. If you don't want to have actual Monthly Archives, use the ArchiveAnyway plugin in place of the MTArchiveList tags.
kj11
Thanks!
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Invision Power Board © 2001-2009 Invision Power Services, Inc.