[Plugin: Advanced Custom Fields – Location Field add-on] How to use this – the easy way
-
Hi there,
just thought i’d post this because it was a headache trying to stitch together all the overly complicated documentation for this plugin + ACF.
<?php if(get_field('googlemap')) { ?> <iframe width="400" height="300" frameborder="0" scrolling="no" marginheight="0" marginwidth="0" src="https://maps.google.com/maps?f=q&source=s_q&hl=en&geocode=&q=<?php echo the_field('googlemap'); ?>;t=m&z=10&iwloc=A&output=embed&iwloc=near"></iframe> <?php } ?>
https://www.ads-software.com/extend/plugins/advanced-custom-fields-location-field-add-on/
Viewing 6 replies - 1 through 6 (of 6 total)
Viewing 6 replies - 1 through 6 (of 6 total)
- The topic ‘[Plugin: Advanced Custom Fields – Location Field add-on] How to use this – the easy way’ is closed to new replies.