Support » Plugins » Search for posts regarding a certain location

  • Hi! I hope this is the right place to ask this.
    I would like to add location information in every post. Since I’m in Italy, there should be two sets of information: the Region (Tuscany, Lombardia, etc) and the relative Province (Florence, Milan). I tried with the Multiple Category Selection Widget, but it doesn’t seem to be the right choice. The ideal would be a drop-down menu with the Regions and, if I click a Region inside that, all the Provinces in that Region should appear in a second drop-down menu. That widget doesn’t seem to work that way. I thought about custom fields (“Region” and “Province” as keys and the relative names as values) but I don’t know how to create the menus.
    I’ll try to make another example.
    Let’s say I have 3 posts:
    Post 1) Region: Lombardia – Province: Milano
    Post 2) Region: Lombardia – Province: Brescia
    Post 3) Region: Tuscany – Province: Florence
    If I click on “Lombardia” in the first menu, don’t click anything on the second and just click the search button, the page should load Post 1 AND Post 2. If I click on “Lombardia” and then on “Brescia” on the secon drop-down menu and click search, I should see only Post 2. If I click on “Tuscany” or “Tuscany-Florence” I should always see only Post 3. Does this makes any sense? Can any of you help me understand which could be the best way to achieve this? Is there anything I could use?
    Thank you very much! =)
    Yuri

  • The topic ‘Search for posts regarding a certain location’ is closed to new replies.