mirror of
git://develop.git.wordpress.org/
synced 2025-01-19 13:47:02 +01:00
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:
parent
82bed993ed
commit
886be0b0bd
@ -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…') ?></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
|
||||
|
Loading…
x
Reference in New Issue
Block a user