Geo Mashup global map of the current category

/ Published in: PHP
Save to your folder(s)

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()`.

Copy this code and paste it in your HTML
  1. <?php $cat = $wp_query->get_queried_object(); ?>
  2. <?php echo GeoMashup::map( 'map_content=global&map_cat=' . $cat->term_id ); ?>


Report this snippet


RSS Icon Subscribe to comments

You need to login to post a comment.