Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author Remco Tolsma

    (@remcotolsma)

    Maybe you have to set the posts_per_page argument:
    https://codex.wordpress.org/Class_Reference/WP_Query#Pagination_Parameters

    <?php
    
    function showHuisgroepen( $atts ) {
    	if ( function_exists( 'pronamic_google_maps_mashup' ) ) {
    		pronamic_google_maps_mashup(
    			array(
    				'post_type'      => 'huisgroepen'
    				'posts_per_page' => 50,
    			),
    			array(
    				'width'          => 600,
    				'height'         => 400,
    				'marker_options' => array(
    					'icon' => 'http://jefta.org/jefta/images/huis.png',
    				),
    			)
    		);
    	}
    }
    Thread Starter mastehouwer

    (@mastehouwer)

    Thank you remco.

    This was the solution for my problem.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘pronamic_google_maps_mashup() only shows 3 markers’ is closed to new replies.