WordPress.org

Support

Support » Plugins and Hacks » [Resolved] Mashup map only showing last 4 entries for custom post type

[Resolved] Mashup map only showing last 4 entries for custom post type

  • I have a Mashup map set for a custom post type but the map will only show the last 4 entries. Here is the code I use in my page template:

    <?php
    
    if ( function_exists( 'pronamic_google_maps_mashup' ) ) {
        pronamic_google_maps_mashup(
            array(
                'post_type' => 'restaurant-week'
            ),
            array(
                'width'          => 660,
                'height'         => 400,
                'map_type_id'    => 'roadmap',
    						'zoom' 					=>  10,
                'marker_options' => array(
                    'icon' => 'http://www.REMOVED FOR THIS POST/images/restaurant_icon.png'
                )
            )
        );
    }
    
    ?>

    Has anyone else had this issue? I am using wp-types plugin to create custom post types.

    http://wordpress.org/extend/plugins/pronamic-google-maps/

Viewing 4 replies - 1 through 4 (of 4 total)
Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘[Resolved] Mashup map only showing last 4 entries for custom post type’ is closed to new replies.