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 ); ?>

URL: http://code.google.com/p/worpdress-geo-mashup

Report this snippet


Comments

RSS Icon Subscribe to comments

You need to login to post a comment.