location dynamic in theme
-
Hello and thank you for this pluggin. It work perfectly well and really easy to use and customize.
I want to do something that’s not working, and I’m sure you can have an answer!
I would like to use do_shortcode in my theme, it work when I use it with a location name, but it’s not when I want to use it with a post meta.
That’s what I would like to have :$mycity = get_post_meta($post->ID, 'cityvalue', true); do_shortcode('[wunderground location="'.$mycity.', France" layout="current" iconset="elemental" measurement="c" language="FR" showdata="alert,daynames,icon"]');
Could you help me to to create a map with a dynamique city I could take from post meta ?
Thank you a lot for your answer…
- The topic ‘location dynamic in theme’ is closed to new replies.