October 15, 2013 at 11:12 am 9021
|Denis||Hello, I use this shortcode and it works. [wpuf-meta name="bb_geoData" type="map" height="250" width="450" zoom="12"] But in some cases there is nothing in the custom field "bb_geoData". So I need first to check if there is something in the custom field and then show the map. How will I do this? It must be something with if... Thanks for help, Denis|
October 15, 2013 at 11:25 am 9022
I tried this:
but then the map is not to see. When I just use the shortcode the map is to see. hmmm…
October 15, 2013 at 5:09 pm 9025
I believe you are using it on your theme. The way you are using it, it’ll just display the shortcode, not the map. You could use like this:
Or the PHP way,
October 16, 2013 at 12:16 pm 9055
I needed to get the ID first…
this is working for me.
October 18, 2013 at 1:54 pm 9158
How can I set Height and Width of the map?
October 19, 2013 at 11:41 pm 9209
Sometimes it’s good to see the PHP code to checkout how it works.
February 24, 2014 at 12:43 am 15769