Using Lat/long for weather inside of city names or OMW ID's – Is it possible?
-
I’m using this code to dynamically add the weather widget to my page template given a specific custom post type. Is there a way I can add specific LATITUDE / LONGITUDE to this & have it work?
<?php
$location = get_post_meta( get_the_ID(), ‘location’, true );
echo awesome_weather_logic( array(‘location’ => $location) );
?>Currently we set the location to a nearby city (Nederland, CO). Each of my pages are located mostly deep in the mountains, making weather different in nearby cities. It’d be super helpful if this plugin could accept lat/long! I know the OWM API allows it. Any suggestions?
Viewing 10 replies - 1 through 10 (of 10 total)
Viewing 10 replies - 1 through 10 (of 10 total)
- The topic ‘Using Lat/long for weather inside of city names or OMW ID's – Is it possible?’ is closed to new replies.