Home Forums General Issues How to create category + subcategory structure


How to create category + subcategory structure

  • Hi.
    I decide to use custom fields to create advanced search.
    I have category and subcategory on my website.
    For example, category England includes subcategory London, Swansea and ect.
    Can I create the same structure in custom fields?
    I want to choose any country (dropbox) and then choose any city in this country.


  • Hi @Koko

    Are you able to change this to useing a taxonomy for location?

    This would make you life many times easier thanks to the native WP checkbox UI.

    If this is not possible to change, you will have to create 2 select fields and populate them yourself using some kind of AJAX call to populate the second choice.

    Sorry there is no easy way for this at the moment.


Viewing 2 posts - 1 through 2 (of 2 total)

The topic ‘How to create category + subcategory structure’ is closed to new replies.