Revision: 24763
Updated Code
at March 11, 2010 07:55 by cyberhobo
Updated Code
<?php $coordinates = GeoMashup::post_coordinates(); if ( class_exists( 'GeoMashup' ) and ! empty( $coordinates ) ) { echo GeoMashup::map(); } ?>
Revision: 24762
Updated Code
at March 10, 2010 15:29 by cyberhobo
Updated Code
<?php if ( class_exists( 'GeoMashup' ) and ! empty( GeoMashup::post_coordinates() ) ) { echo GeoMashup::map(); } ?>
Revision: 24761
Initial Code
Initial URL
Initial Description
Initial Title
Initial Tags
Initial Language
at March 10, 2010 15:26 by cyberhobo
Initial Code
if ( class_exists( 'GeoMashup' ) and ! empty( GeoMashup::post_coordinates() ) ) { echo GeoMashup::map(); }
Initial URL
http://code.google.com/p/wordpress-geo-mashup
Initial Description
This template code will work only in the WordPress Loop to include a map if the Geo Mashup plugin is active and the current post has a location.
Initial Title
Conditional Geo Mashup map template code
Initial Tags
template, wordpress
Initial Language
PHP