Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php
- $country = get_post_meta($post->ID, "country", true);
- $city = get_post_meta($post->ID, "city", true);
- echo '<div>';
- do_shortcode('[forecast location="$city, $country" caption="" measurement='C' todaylabel="Today" datelabel="date('d/m/Y')" highlow='%%high%%°/%%low%%°' numdays="5" iconset="Incredible" cache="true" width="100%"]');
- echo '</div>';
- ?>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement