Return to Snippet

Revision: 36182
at November 19, 2010 03:22 by cyberhobo


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

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

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

Initial Title
Geo Mashup global map of the current category

Initial Tags


Initial Language
PHP