I've been trying to make the two Plugins WP Wunderground and Geo Mashup work together.
What I basically want to achieve is to have a map with a specific location at the sidebar and WP Wunderground showing the appropriate weather information.
This code is showing the latitude and longitude of the location, works fine:
<?php echo GeoMashup::location_info('fields=lat,lng'); ?>
This code is showing the name of the city, works fine as well:
<?php echo GeoMashup::location_info('fields=locality_name'); ?>
But whats wrong with this? It doesn't work. Really drives me mad!!
<?php echo do_shortcode("[forecast location='".GeoMashup::location_info('fields=lat,lng')."' caption='Weather for ".GeoMashup::location_info('fields=locality_name')."' measurement='C']"); ?>
Does anybody have an idea how to do that??
Thanks for your help,