Add Browse Category dropdown. Props westi and thomas. fixes #2340

git-svn-id: http://svn.automattic.com/wordpress/trunk@4137 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
ryan 2006-08-30 17:17:09 +00:00
parent c0da1aab0d
commit db5d9a84ba
1 changed files with 8 additions and 0 deletions

View File

@ -112,6 +112,14 @@ if ( count($arc_result) ) { ?>
<?php } ?>
<form name="viewcat" action="" method="get" style="float: left; width: 30em; margin-bottom: 1em;">
<fieldset>
<legend><?php _e('Browse Category&hellip;') ?></legend>
<?php wp_dropdown_categories('show_option_all=All&hide_empty=0&hierarchical=1&show_count=1&selected='.$cat);?>
<input type="submit" name="submit" value="<?php _e('Show Category') ?>" />
</fieldset>
</form>
<br style="clear:both;" />
<?php