wp_dropdown_categories won’t link to correct archive
-
Hello!
I’m using wp_dropdown_categories to show a custom list of categories in the sidebar. But since I’m using qtranslate the “submit”-button gives the wrong page and switches to default language!
how can I fix this?
Here’s the code:
<form action="<?php bloginfo('url'); ?>" method="get"> <div> <?php _e('Select:'); ?><br /> <?php /*get_query_var('cat');*/ wp_dropdown_categories('child_of=1&orderby=name&show_count=0&hierarchical=1&hide_empty=1'); ?> <input type="submit" name="submit" value="»" /> </div> </form>
thx for help,
piedro
- The topic ‘wp_dropdown_categories won’t link to correct archive’ is closed to new replies.