Home › Forums › Front-end Issues › Issue with JQuery › Reply To: Issue with JQuery
Hi @rvroo
It looks like you’re using the example code for google maps in your theme.
You should put this code inside a js file instead of directly in your template.
Your issue is not with ACF but rather your jquery.. I’m guessing you’ve already set up jquery to use $.
You should put the code without the outer wrapping stuff inside your script.js (or similar) file in your theme and within a $(document).ready() function.
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.