Apr 21
Wordpress Archive Dropdown
One of the things I’ve been meaning to do for a while was clean up my sidebars. They were WAY long and that was mostly because my categories and archive sections were being completely listed out. I mean, you blog for any amount of time and these things are bound to happen. So I had two things I could do. I could either:
- Stop displaying this stuff entirely or
- Find a new way to display them.
For a second, I thought about putting this stuff into the footer somehow but after I spent all the time making my kicka$$ new one, I said I would just make dropdowns out of this content. For the category dropdown, that was easy enough to do after I found this page on Wordpress. The archive dropdown was a bit harder because I couldn’t find code on Wordpress that worked exactly like the category dropdown did. That is, the code I found on Wordpress would go to the archive section immediately after selecting it from the dropdown instead of after hitting a submit button. So just in case any of you out there need this, here’s the code I came up with:
[sourcecode language='html']
[/sourcecode]
Sorry it looks so ugly but at the moment I don’t have time to play with this tool to make things look perfect and bring the font down. In any case, you should be able to just copy the code, clean it up and put it in wherever you need it. Hope this helps!

April 22nd, 2009 at 8:20 am
Hey Bush,
Great clean up job there…. I am just redesigning my new acquired site and need to be smart with things like this….
Also love the png footer action…. F**k IE6
ha ha.
April 22nd, 2009 at 11:01 am
@Forest – Ha ha thanks, BTW – GL with the new site. Looks like you already have some decent posts up!