Take the 2-minute tour ×
WordPress Development Stack Exchange is a question and answer site for WordPress developers and administrators. It's 100% free, no registration required.

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: 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

1 Answer 1

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

 
discard

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.