Welcome to the Treehouse Community

The Treehouse Community is a meeting place for developers, designers, and programmers of all backgrounds and skill levels to get support. Collaborate here on code errors or bugs that you need feedback on, or asking for an extra set of eyes on your latest project. Join thousands of Treehouse students and alumni in the community today. (Note: Only Treehouse students can comment or ask questions, but non-students are welcome to browse our conversations.)

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and a supportive community. Start your free trial today.

WordPress

Jerome Ariens
Jerome Ariens
9,655 Points

wordpress and google maps api

I can't seem to get my custom marker to show in my google custom map! it used to work a few days ago when I was editing on localhost and used an absolute link for it. the site is in wordpress and Im using a custom styled maps api key and still using absolute link for the icon.

page is at: http://www.smugglersrest.com.au/contact/.

custom marker is located at: http://www.smugglersrest.com.au/wp-content/themes/wpsmugglersrest/img/marker.png

I've also got the google maps api stored in the js folder because i wasn't sure how to enqueue external scripts via the functions.php file and the custom parts of the map & marker call stored in another map.js file and call in via the functions.php
can anyone help??

1 Answer