Welcome to the Treehouse Community

Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.

Start your free trial


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