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

git-svn-id: https://develop.svn.wordpress.org/trunk@4137 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Ryan Boren 2006-08-30 17:17:09 +00:00
parent 82bed993ed
commit 886be0b0bd
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