Title: Running JavaScript/Google Maps
Last modified: September 14, 2016

---

# Running JavaScript/Google Maps

 *  [mkaempf](https://wordpress.org/support/users/mkaempf/)
 * (@mkaempf)
 * [9 years, 9 months ago](https://wordpress.org/support/topic/running-javascriptgoogle-maps/)
 * I’m trying to get some JavaScript to show a map, it is for a map with our business
   locations on it using the google maps API. I’m not sure how to link to the script
   AND get it to run/show.
 * [This is the guide I followed here for the map code.](https://www.taniarascia.com/google-maps-apis-for-multiple-locations/)
   
   [This is the link to my JavaScript file.](http://brabazon.us/wp-content/uploads/2016/04/script.js)
   [This is the HTML I open to show that it actually works.](http://brabazon.us/wp-content/uploads/2016/04/index.html)
   [This is the CSS file.](http://brabazon.us/wp-content/uploads/2016/04/style.css)
 * I’ve tried
    `<script> type=text/javascript" src=//brabazon.us/wp-content/uploads/
   2016/04/script.js"></script>` I don’t get any errors, nothing shows up.
 * I am trying to get it [on this page here.](http://brabazon.us/contact-us/locations/)
 * The theme I am using is the “Canvas Child Theme”
    I’m also a noob.
    -  This topic was modified 9 years, 9 months ago by [mkaempf](https://wordpress.org/support/users/mkaempf/).
    -  This topic was modified 9 years, 9 months ago by [mkaempf](https://wordpress.org/support/users/mkaempf/).

Viewing 3 replies - 1 through 3 (of 3 total)

 *  Thread Starter [mkaempf](https://wordpress.org/support/users/mkaempf/)
 * (@mkaempf)
 * [9 years, 9 months ago](https://wordpress.org/support/topic/running-javascriptgoogle-maps/#post-8183153)
 * I’ve also tried this `<script> src="//brabazon.us/wp-content/uploads/2016/04/
   script.js" async=""></script>` No errors in console, nothing dislpays.
 * I’ve also noticed that after I submit that and I go back in it gets changed to`
   <script>// <![CDATA[
    src=”//brabazon.us/wp-content/uploads/2016/04/script.js”
   async=””> // ]]></script>`
    -  This reply was modified 9 years, 9 months ago by [mkaempf](https://wordpress.org/support/users/mkaempf/).
    -  This reply was modified 9 years, 9 months ago by [mkaempf](https://wordpress.org/support/users/mkaempf/).
 *  [Mykill73](https://wordpress.org/support/users/mykill73/)
 * (@mykill73)
 * [9 years, 9 months ago](https://wordpress.org/support/topic/running-javascriptgoogle-maps/#post-8183164)
 * This may help? Add it to your functions.php file or crete a plugin. They also
   have google maps plugins that may do the same thign you’re looking for.
 * [https://developer.wordpress.org/themes/basics/including-css-javascript/](https://developer.wordpress.org/themes/basics/including-css-javascript/)
 *  Thread Starter [mkaempf](https://wordpress.org/support/users/mkaempf/)
 * (@mkaempf)
 * [9 years, 9 months ago](https://wordpress.org/support/topic/running-javascriptgoogle-maps/#post-8183247)
 * [That](https://developer.wordpress.org/themes/basics/including-css-javascript/)
   looks like a guide to modify a theme, which I don’t think I want to do. I just
   want to embed this map into a page that already exists.
 * Maybe a plugin is the way to go… I had hoped this wasn’t true because I went 
   through all the effort into finding that guide and adding in all my own info 
   to the jscript. LAME
 * I’m going to try [WP Google Maps](https://wordpress.org/plugins/wp-google-maps/)
   and see how it goes.
    -  This reply was modified 9 years, 9 months ago by [mkaempf](https://wordpress.org/support/users/mkaempf/).

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘Running JavaScript/Google Maps’ is closed to new replies.

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 3 replies
 * 2 participants
 * Last reply from: [mkaempf](https://wordpress.org/support/users/mkaempf/)
 * Last activity: [9 years, 9 months ago](https://wordpress.org/support/topic/running-javascriptgoogle-maps/#post-8183247)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
