function drop_tags(){ echo "<select id='example' onChange=\"document.location.href=this.options[this.selectedIndex].value;\">"; echo "<option id='space'>Select a Tag</option>\n"; foreach (get_the_tags() as $tag) { echo "<option value=\""; echo get_tag_link($tag->term_id); echo "\">".$tag->name."</option>\n"; } echo "</select>";}
<?php drop_tags(); ?>
This is what I place in my archive file