Weather Underground
[Plugin: Weather Forecast - WP Wunderground] WP Wunderground & Geo Mashup Single Map (2 posts)

  1. claudi.fa
    Posted 3 years ago #

    Hi everybody,

    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,



  2. Pete
    Posted 3 years ago #

    Did you get this working?

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • Weather Underground
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic