Forum Replies Created

Viewing 1 replies (of 1 total)
  • Thread Starter heyfella

    (@heyfella)

    Hi Leon,

    Thanks for the quick response. I tried that but doesn’t seem to do anything. I also tested the short code to retrive my custom posts types and also received no results.

    Shortcodes used
    [googlemapsmashup query=”post_tpe=restaurant” map_type_id=”roadmap”]
    [googlemapsmashup latitude=’-38.3276942′ longitude=’144.3174318′]

    The mashups work fine when using template code like this

    if ( function_exists( 'pronamic_google_maps_mashup' ) ) {
        pronamic_google_maps_mashup(
            array(
                'post_type' => 'restaurant'
            ),
            array(
                'width'          => 400,
                'height'         => 800,
                'map_type_id'    => 'roadmap',
                'marker_options' => array(
                    //'icon' => 'https://google-maps-icons.googlecode.com/files/photo.png'
                )
            )
        );
    }
Viewing 1 replies (of 1 total)