Title: Multiple category drop downs
Last modified: July 25, 2021

---

# Multiple category drop downs

 *  Resolved [gjinternational](https://wordpress.org/support/users/gjinternational/)
 * (@gjinternational)
 * [4 years, 10 months ago](https://wordpress.org/support/topic/multiple-category-drop-downs/)
 * Hi there,
 * I’m not a coder so please bear with me, especially if I don’t use the right terms
   a coder may use…
 * I need to have two drop down search boxes, for the parent category and child 
   category. To explain what I need to achieve:
    The first ‘search box’ will select
   the parent category, the second ‘search box’ will select the child data depending
   on the category selected in the first box.
 * This is for a healthtech site, so for example the first search box the user will
   select the main (parent category)condition e.g. diabetes, respiratory, cardiac…
   etc
    Then the contents of the second drop down will change to display the relevant(
   child category) sub-condition: So if you select diabetes in the first box, the
   second box gives the option of type 1, types 2 etc…. Or if you select Respiratory
   in the first box, the second box will let you select the relevant conditions 
   such as asthma, bronchitis, COPD etc.
 * At present all the parent and child categories are under one drop down which 
   means it will become a very long list.
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fmultiple-category-drop-downs%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

Viewing 1 replies (of 1 total)

 *  [Shahadat Hossain](https://wordpress.org/support/users/5h4h4d4t/)
 * (@5h4h4d4t)
 * [4 years, 10 months ago](https://wordpress.org/support/topic/multiple-category-drop-downs/#post-14700329)
 * Greetings [@gjinternational](https://wordpress.org/support/users/gjinternational/),
 * Thank you for reaching out.
 * By default, both the child and parent categories will be visible on the same 
   dropdown. You will need custom development to display parent and child categories
   under separate dropdowns on the search form.
 * Regards,
    -  This reply was modified 4 years, 10 months ago by [Shahadat Hossain](https://wordpress.org/support/users/5h4h4d4t/).

Viewing 1 replies (of 1 total)

The topic ‘Multiple category drop downs’ is closed to new replies.

 * ![](https://ps.w.org/directorist/assets/icon-256x256.gif?rev=3185058)
 * [Directorist: AI-Powered Business Directory, Listings & Classified Ads](https://wordpress.org/plugins/directorist/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/directorist/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/directorist/)
 * [Active Topics](https://wordpress.org/support/plugin/directorist/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/directorist/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/directorist/reviews/)

 * 1 reply
 * 2 participants
 * Last reply from: [Shahadat Hossain](https://wordpress.org/support/users/5h4h4d4t/)
 * Last activity: [4 years, 10 months ago](https://wordpress.org/support/topic/multiple-category-drop-downs/#post-14700329)
 * Status: resolved