• Hi,
    On my site users want to see people who are interested in a specific job category (eg: Teaching) within a certain distance (eg: 50 Miles) from my location (eg: London).
    How do I add another field as well (category) in my search on map?
    Thanks

    The page I need help with: [log in to see the link]

Viewing 1 replies (of 1 total)
  • Hi Paulr101 et. al.,

    I am very new to wordpress so forgive me if this is bad advice, but I think you can do what you want with the following:

    First you need to add a new category (taxonomy) to your locations post type. There are many ways to do this but one simple method is to use an add in called ‘CPT UI’. Click ‘add new taxonomy’ and attach it to post type ‘locations’.

    Second, I think you just need to add the taxonomies option to your shortcode. For example, paste the following into the page where you want your search:

    [wp_simple_locator taxonomies=”category”]

    See https://locatewp.com/ for more info. Note the use of ” (curly) in the examples. I had some trouble with this and had to use ” (straight) instead.

    Hope this helps!

Viewing 1 replies (of 1 total)
  • The topic ‘Search by Category and Distance’ is closed to new replies.