Support » Plugin: WP Geo » [Plugin: WP Geo] A way to show listings for all pages (not only current) on category mashup maps

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Author Ben Huson

    (@husobj)

    Are you using the wpgeo_mashup shortcode or another function in your templates?
    Can you let me know exact which function you are using?

    oxwald

    (@oxwald)

    The function i’m using :
    <?php if ( isset($wpgeo) ) $wpgeo->categoryMap(); ?>

    Plugin Author Ben Huson

    (@husobj)

    Instead try using wpgeo_map( $args ).
    This function accepts all the same arguments as get_posts()
    http://codex.wordpress.org/Template_Tags/get_posts
    ..so you should be able to do:

    <?php
    if ( function_exists( 'wpgeo_map' ) ) wpgeo_map( array(
       'numberposts' => -1
       'category' => {enter category ID here}
    ) );
    ?>
    oxwald

    (@oxwald)

    Thank you very much, it’s working fine.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘[Plugin: WP Geo] A way to show listings for all pages (not only current) on category mashup maps’ is closed to new replies.