Posted By

cyberhobo on 11/19/10


wordpress-template wordpress-geo-mashup

Versions (?)

Who likes this?

1 person have marked this snippet as a favorite


Geo Mashup global map of the current category

 / Published in: PHP


This code would go in a category template, outside the loop. In a more general template, you'd want to put it inside a check for is_category().

  1. <?php $cat = $wp_query->get_queried_object(); ?>
  2. <?php echo GeoMashup::map( 'map_content=global&map_cat=' . $cat->term_id ); ?>

Report this snippet  

You need to login to post a comment.