Title: &lt;?php wp_dropdown_categories(); ?&gt;
Last modified: August 19, 2016

---

# <?php wp_dropdown_categories(); ?>

 *  [notyournews](https://wordpress.org/support/users/notyournews/)
 * (@notyournews)
 * [17 years, 7 months ago](https://wordpress.org/support/topic/ltphp-wp_dropdown_categories-gt/)
 * 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.

Viewing 3 replies - 1 through 3 (of 3 total)

 *  [WP Realty](https://wordpress.org/support/users/php4ever/)
 * (@php4ever)
 * [17 years, 7 months ago](https://wordpress.org/support/topic/ltphp-wp_dropdown_categories-gt/#post-870578)
 * I’d build a custom plugin for something like that and maybe use a little javascript.
 * I built one for a client of mine that wanted to have 4 drop down selects each
   for a specific category. What you want sounds to be a chained select and can 
   be done but would take some JS or AJAX is my suggestion.
 * Jared Ritchey
 *  Thread Starter [notyournews](https://wordpress.org/support/users/notyournews/)
 * (@notyournews)
 * [17 years, 7 months ago](https://wordpress.org/support/topic/ltphp-wp_dropdown_categories-gt/#post-870654)
 * Thanks for the key-words ‘chained select’. Researched it a little, and figured
   out a solution. Not dynamic like I would like, but it will work for now.
 *  [WP Realty](https://wordpress.org/support/users/php4ever/)
 * (@php4ever)
 * [17 years, 4 months ago](https://wordpress.org/support/topic/ltphp-wp_dropdown_categories-gt/#post-870894)
 * Hey what option did you finally decide upon, I built a chained select for a mortgage
   site using ajax. I think i’ll publish it on my blog.

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘<?php wp_dropdown_categories(); ?>’ is closed to new replies.

## Tags

 * [categories](https://wordpress.org/support/topic-tag/categories/)
 * [dropdown](https://wordpress.org/support/topic-tag/dropdown/)

 * 3 replies
 * 2 participants
 * Last reply from: [WP Realty](https://wordpress.org/support/users/php4ever/)
 * Last activity: [17 years, 4 months ago](https://wordpress.org/support/topic/ltphp-wp_dropdown_categories-gt/#post-870894)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
