WordPress Archive Popup Menu

I’m trying to my the Mrs. blog have the theme she wants with the features she wants. She was using a really ugly one because it let her collapse the things in the side bar.

The first thing I wanted to do and I wanted it for my blog too, was to make the archive by month a popup list.

WordPress has a tag that helps with this wp_get_archives. You can choose to have it output option tags, which are what a select tag needs. After a lot of hunting and Google seaching I found the snippet of code I needed.

<form action="" name="pulldown2">
<select name="mypulldown2"

<option value="">Select</option>
<?php wp_get_archives('type=monthly&format=option'); ?>

Now to add it to my blog.