julie Posted December 17, 2004 Posted December 17, 2004 Hi everyone, I am trying to get my entries in MT to archive by year so that it looks like the following: 2004: Jan Feb Mar Apr May, etc. 2003: Jan Feb Mar Apr May, etc. i have seen several snippits of code around that will do this and i've seen it done successfully on several sites, but i can't seem to work it out myself. i tried using the Archive Date Header plugin found here http://www.kalsey.com/2002/08/archive_date_header_plugin/ but my results keep looking like the following: 2004: December 2004: November 2004: October etc etc. Anyone have a clue why this isn't working as it should for me? Quote
julie Posted December 17, 2004 Author Posted December 17, 2004 ok great, i figured it out. however, i read on another forum that the guy uses: <MTArchiveList archive_type="Monthly"> <MTArchiveDateHeader> <span class="archiveyear"><MTArchiveDate format="%Y"></span> </MTArchiveDateHeader> <a href="<$MTArchiveLink$>"><MTArchiveDate format="%b "></a> </MTArchiveList> with the following styling CODE .archiveyear {font-weight:bold; display:block} where do i put the styling snippet of code in? Quote
TCH-Bruce Posted December 17, 2004 Posted December 17, 2004 (edited) The styling would go into your style sheet for your blog. If you use several themes on your site and let users choose you will have to add it to each one. It can be placed anywhere in the style sheet. Edited December 17, 2004 by TCH-Bruce Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.