• Resolved cloudduster

    (@cloudduster)


    Hi there,

    Let say I have 2 different pages:

    Page 1 = About hotels, inns, hostels, accommodation
    Page 2 = About restaurants, shopping, boutiques, etc.

    Both pages focus on 1 specific area only.

    Can you point me to the right direction how to make Page 1 NOT to display data markers of Page 2?

    I’m using this shortcode: [geo_mashup_map]

    Can this be achieved? or is there a simple way to do this. Thank you.

    http://wordpress.org/plugins/geo-mashup/

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author Dylan Kuhn

    (@cyberhobo)

    The simplest way would be to put the posts for each map in different categories, then use the map_cat to map only the category you want on each page:

    https://code.google.com/p/wordpress-geo-mashup/wiki/TagReference#Query_Variables

    Thread Starter cloudduster

    (@cloudduster)

    Thanks Dylan. I ended up using custom post and display the map by

    <?php echo GeoMashup::map( array(
    ‘map_content’ => ‘global’,
    ‘near_lat’ => ‘10.31681’,
    ‘near_lng’ => ‘123.89054’,
    ‘radius_km’ => ’20’,
    ‘tax_query’ => array(
    array(
    ‘taxonomy’ => ‘brsrvc_type’,
    ‘field’ => ‘slug’,
    ‘terms’ => ‘budget hotel’,
    )
    )
    ) );
    ?>

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

The topic ‘Advise needed. What to do’ is closed to new replies.