Title: Adding custom google pages
Last modified: August 21, 2016

---

# Adding custom google pages

 *  [VitualBob](https://wordpress.org/support/users/vitualbob/)
 * (@vitualbob)
 * [13 years, 2 months ago](https://wordpress.org/support/topic/adding-custom-google-pages/)
 * How do I add a page like this to a WordPress page considering its a mix of JavaScript
   and html?
 * Source:
    [https://developers.google.com/maps/documentation/javascript/examples/map-simple](https://developers.google.com/maps/documentation/javascript/examples/map-simple)
 *     ```
       <script src="https://maps.googleapis.com/maps/api/js?v=3.exp&sensor=false"></script>
           <script>
       var map;
       function initialize() {
         var mapOptions = {
           zoom: 8,
           center: new google.maps.LatLng(-34.397, 150.644),
           mapTypeId: google.maps.MapTypeId.ROADMAP
         };
         map = new google.maps.Map(document.getElementById('map-canvas'),
             mapOptions);
       }
   
       google.maps.event.addDomListener(window, 'load', initialize);
   
           </script>
         </head>
   
         <body>
           <div id="map-canvas"></div>
         </body>
       ```
   
 * _[Please post code & markup between backticks or use the code button. Your posted
   code may now have been permanently damaged by the forum’s parser.]_

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

 *  [Borko](https://wordpress.org/support/users/media-x/)
 * (@media-x)
 * [13 years, 2 months ago](https://wordpress.org/support/topic/adding-custom-google-pages/#post-3685663)
 * Do you want to add a Google Map inside a page or show a full screen Google map?
 *  Thread Starter [VitualBob](https://wordpress.org/support/users/vitualbob/)
 * (@vitualbob)
 * [13 years, 2 months ago](https://wordpress.org/support/topic/adding-custom-google-pages/#post-3685671)
 * Inside a page
 *  [Borko](https://wordpress.org/support/users/media-x/)
 * (@media-x)
 * [13 years, 2 months ago](https://wordpress.org/support/topic/adding-custom-google-pages/#post-3685692)
 * Search the wordpress [plugin directory](http://wordpress.org/extend/plugins/)
   for a Google Map plugin.
    My favourite is [Basic Google Maps Placemarks](http://wordpress.org/extend/plugins/basic-google-maps-placemarks/).
 *  Thread Starter [VitualBob](https://wordpress.org/support/users/vitualbob/)
 * (@vitualbob)
 * [13 years, 2 months ago](https://wordpress.org/support/topic/adding-custom-google-pages/#post-3685904)
 * Ok – that plug-in looks good as I need to set a custom map centre.
 * I’d still like to know if there’s a way to put JavaScript into the head are of
   a page, for other stuff I may do,

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

The topic ‘Adding custom google pages’ is closed to new replies.

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 4 replies
 * 2 participants
 * Last reply from: [VitualBob](https://wordpress.org/support/users/vitualbob/)
 * Last activity: [13 years, 2 months ago](https://wordpress.org/support/topic/adding-custom-google-pages/#post-3685904)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
