/ 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()`.
Expand |
Embed | Plain Text
Copy this code and paste it in your HTML
<?php $cat = $wp_query->get_queried_object(); ?> <?php echo GeoMashup::map( 'map_content=global&map_cat=' . $cat->term_id ); ?>
URL: http://code.google.com/p/worpdress-geo-mashup
Comments
