• Hi guys, I have a quick question that maybe has a simple answer and I’m going in circles without looking closer but here I go:

    I have 3 categories and one subcategory, this is:

    Academies
    Teachers
    Countries

    Below countries I have states listed, as subcategories, for example, country USA has California, Florida, and Georgia, then the country Canada has Alberta and Nova Scotia, and so on so on.

    What I want is to have people the ability to choose first what they want to see, if an academy or a teacher, then, based on that selection they need to select a country, and finally based on that country selection all records within that and the states listed under that country, so if I selected Academies and USA then show all academies within the USA and its listed states.

    I’m not sure if this is possible with WordPress and its current settings (like registering the records using categories) or if it’s something that needs heavy coding and some type of conditionals.

    Any help would be great,

    Thanks!

Viewing 1 replies (of 1 total)
  • Moderator bcworkz

    (@bcworkz)

    You might try a few of the advanced search plugins. If one of them doesn’t do it for you, a custom coded solution is feasible. Getting the desired results from WP is mainly a matter of sending it the right query vars. Providing a nice, intuitive UI could get rather involved, but whether it’s “heavy” or not is open to interpretation.

    Maybe simplest would be a series of pages with various links to the next step. The first is maybe two columns. one a list of countries with academies, the other countries with teachers. The next page would be states or political divisions within the chosen country that have either academies or teachers. Finally, a list of all academies or teachers within the chosen state or political division.

    The underlying page template simply lists whatever query results were returned. The magic is in the query vars included in each link that tells WP what to query for as the next step. This shouldn’t sound too difficult, but getting the template to correctly assemble query vars in each link is where it could get rather tricky. It depends on your skill level with this sort of thing.

Viewing 1 replies (of 1 total)
  • The topic ‘Help with Categories’ is closed to new replies.