WordPress Development Stack Exchange is a question and answer site for WordPress developers and administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I'm using the Geo Mashup plugin to display maps on my site. I've changed a pages template, so it now only lists pages from certain categories instead of listing them all, which has now effected my global map to only show maps from the first categories I specify should be listed.

I'm using: <?php echo GeoMashup::map(); ?> to show the map. Is there a way to give the map a list of categories it should be displaying? I can't find anything to suggest how you would do this.

share|improve this question
Nm, figured it out: <?php echo GeoMashup::map( 'map_content=global&map_cat=1,2,3,4,5' . $cat->term_id ); ?> – david Jul 2 '12 at 11:01
Please add this as answer. Btw: You can add code formatting to comments too. – kaiser Jul 2 '12 at 12:51

Nm, figured it out:

<?php echo GeoMashup::map( 'map_content=global&map_cat=1,2,3,4,5' . $cat->term_id ); ?>
share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.