Return to Snippet

Revision: 29361
at July 28, 2010 02:51 by cyberhobo

Initial Code
<?php query_posts( 'tag=example' ); ?>
<?php echo GeoMashup::map( 'map_content=contextual' ); ?>
<?php wp_reset_query(); ?>

Initial URL

Initial Description
Geo Mashup contextual maps display the results of a WordPress query, so they can be very useful in combination with the WordPress `query_posts` function. This example maps post with an example tag, but any call to `query_posts` could be substituted. This is code that would go in a WordPress template.

Initial Title
Geo Mashup post query contextual map

Initial Tags
template, wordpress

Initial Language