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:
parent
c0da1aab0d
commit
db5d9a84ba
|
@ -112,6 +112,14 @@ if ( count($arc_result) ) { ?>
|
||||||
|
|
||||||
<?php } ?>
|
<?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;" />
|
<br style="clear:both;" />
|
||||||
|
|
||||||
<?php
|
<?php
|
||||||
|
|
Loading…
Reference in New Issue