Return to Snippet

Revision: 11745
at February 17, 2009 10:36 by selfmadepsyche


Initial Code
<h2>Archives</h2>
<ul>
<?php wp_get_archives('type=monthly'); ?>
</ul>


<select name=\"archive-dropdown\" onChange='document.location.href=this.options[this.selectedIndex].value;’>
<option value=\”\”><?php echo attribute_escape(__(’Select Month’)); ?></option>
<?php wp_get_archives(’type=monthly&format=option&show_post_count=1′); ?> </select>

Initial URL


Initial Description


Initial Title
Display Archives Normally or in a Drop-Down Box

Initial Tags
wordpress

Initial Language
PHP