• Resolved jmccann

    (@jmccann)


    HI,
    I have a community site where I want the Home page to display only my parent category of Towns, which is cat_ID “2”.
    Whenever I display my map it display ALL of the Towons plus ALL the subcategories.
    Here’s the shortcode I’m using:
    [gd_map map_type=”directory” post_settings=”1″ post_type=”gd_place” terms=”2″ width=”100%” height=”525px” maptype=”ROADMAP” zoom=”11″]
    I’ve even tried using negative numbers in Terms to remove all other categories, but this doesn’t work either.
    How can I get just the One category displayed on the Map on my Home page?

    • This topic was modified 7 months, 3 weeks ago by jmccann.
    • This topic was modified 7 months, 3 weeks ago by jmccann.
    • This topic was modified 7 months, 3 weeks ago by jmccann.
    • This topic was modified 7 months, 3 weeks ago by jmccann.
Viewing 1 replies (of 1 total)
  • Plugin Author Paolo

    (@paoltaia)

    Hi,

    I just tested this on our demo and it works as expected.

    Ensure the shortcode has straight double quotes like in the example provided below. (and not curly double quotes as in your example)

    [gd_map map_type="directory" post_settings="1" terms="4" marker_cluster="1" width="100%" height="425px" maptype="ROADMAP" zoom="0"] 

    Also check with the browser dev tools (f12) if there are JavaScript errors in the console. If you don’t know how to check, please provide a link so that we can look at your site.

Viewing 1 replies (of 1 total)
  • The topic ‘Restrict Geodirectory to display only one category on Map’ is closed to new replies.