<?php wp_dropdown_categories(); ?>
-
Hello,
I have been trying to figure this out. Maybe someone could help me out.
I’m using <?php wp_dropdown_categories(); ?> and some arguments to display the top level of categories.
What I’d like to do is have 3 drop down menus (basically dropdown 1, 2, and 3 on the same page setup as step 1, 2, and 3). The first dropdown lists all the categories. Once a category is selected it populates the second dropdown which shows that categories sub-categories. Once you select a sub-category from the second dropdown, it will populate the third drop down with all the posts from the selected sub-category. Then once you select a post from the third dropdown it will go to that post.
Kind of confusing writing it out, if you’d like any clarification let me know.
Any help with this would be greatly appreciated. I’m pretty sure there is a simple way of doing it, I just can’t picture it. Thanks for looking.
- The topic ‘<?php wp_dropdown_categories(); ?>’ is closed to new replies.