Home › Forums › ACF PRO › How to display Google map on front end? › Reply To: How to display Google map on front end?
you need to add the css&js from link you have from documentation
you need the the full code from : Required CSS & JS
just customize it when you know what you do
and full code from : Render a single maker onto a map
just change location from the code get_field('location');
to the field-name you use
of course you can add css part to template-css and outsource the js part into a file and use wp_register_script and wp_enqueue_script to include it.
Welcome to the Advanced Custom Fields community forum.
Browse through ideas, snippets of code, questions and answers between fellow ACF users
Helping others is a great way to earn karma, gain badges and help ACF development!
We use cookies to offer you a better browsing experience, analyze site traffic and personalize content. Read about how we use cookies and how you can control them in our Privacy Policy. If you continue to use this site, you consent to our use of cookies.