Home Forums Front-end Issues Displaying A Google Map On Front-End Reply To: Displaying A Google Map On Front-End

  • Hi @mpridham

    The documentation for the google maps field gives you everything you need to get it working.. You can basically copy the entire example and just switch out the field name.

    All the JS goes in your themes script.js file (or similar) and the PHP/HTML in the template file you want the map to be displayed in. It would need to be inside the loop of the page where the field is applied in admin just like any other ACF field (Or set the second parameter which is the post ID).