Guest post by Richard
I discovered another one of those stealthy features that show up from time to time at wordpress.com without announcement. There is now an “archives” shortcode which will allow you to build a post index on a page by just entering the shortcode. Click the thumbnail at left to see an example of the basic shortcode (no options) that creates a lists all posts in your blog [*archives*]. (Note: I’ve put an asterisk at each end so the example code does not put an archive here in the post.)
WordPress has provided numerous options that you can use to control the display of your lists such as yearly, monthly or daily, and you can if you wish even limit the number of posts in each list. You can even combine options. Click the thumbnail at left to see a list monthly list limited to the past 12 months with the post count showed for each month [*archives type=monthly limit=12 showcount=true*].
You might have noticed in the images that there is a “Shortcode Archives” title at the top which is the actual title I gave the page during testing, so don’t let that throw you.
The other interesting thing with this new feature is that we can use the archives shortcode in text widgets, which will give bloggers another option over the archives and recent posts widgets we already have.
Look over the support document (linked in the first paragraph) for an more complete and detailed explanation of this new feature and give it a try.
[Edit: One of the CSS guru’s who help out in the WordPress.COM forums from time to time discovered a couple other issues with the implementation of the code (a couple missing ending HTML tags), so there are a few bugs to iron out.]