Awesome plugin! I just have a small problem though:
I’m using custom taxonomies and am trying to build a search that is restricted to a city, such as All Libraries in SmallVille, using:
<form id="searchform" method="get" action="<?php bloginfo('url'); ?>"> <input type="text" name="s" id="s" size="15" class="city"> <p class="in">in</p> <?php wp_dropdown_categories('taxonomy=location&show_option_all=Select city&exclude=1'); ?> </div> </div> <div class="submit-button"><input type="submit" value="Search" /></div> </form>
Unfortunately, which ever city is selected still brings up all results in all cities. Is there some special trick I need to do to get it to work?
- The topic ‘wp_dropdown_categories() returning all results’ is closed to new replies.