i have created custom fields using types plugin, , beside standard fields (text, photo...) have 2 "map related" fields - longitude , latitude (which adding in format - 40.712784) , 2 fields outputed raw code on page using code:
<?php echo(types_render_field( "long", array( 'raw' => true) )); ?> <?php echo(types_render_field( "lat", array( 'raw' => true) )); ?>
now, want display marker each post on google map on top of homepage long/lat location, since not php developer, dont have idea start.
of course, know isnt 5 min job, idea , how start good.
thank you!
Comments
Post a Comment