Posted By

cyberhobo on 11/19/10


Tagged

wordpress-template wordpress-geo-mashup


Versions (?)

Who likes this?

1 person have marked this snippet as a favorite

intriguingnw


Geo Mashup global map of the current category


 / Published in: PHP
 

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

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.