This tutorial will show you how to change the Google map location in WordPress CherryFramework 3 templates.
You can insert shortcode on a page or inside a post in WordPress.
In order to change the Google map location, you should do the following:
Log into your WordPress dashboard.
Navigate to Pages->All Pages.
Select your Contacts page (usually called ‘Contacts’ or ‘Contact Us’).
Make sure you are editing this post/page in Text mode.
The Google map code (shortcode) looks like this:
[map src="https://www.google.com/maps/embed?pb=!1m18!1m12!1m3!1d96873.70582490717!2d-73.94499755!3d40.645244!2m3!1f0!2f0!3f0!3m2!1i1024!2i768!4f13.1!3m3!1m2!1s0x89c24416947c2109%3A0x82765c7404007886!2sBrooklyn%2C+NY%2C+USA!5e0!3m2!1sen!2s!4v1443189753041" width="100%" height="300"]
This is the code (map embed link) you need to modify or replace with a new one:
As soon as you’ve found the Google map code, go to: Google Maps website.
Enter your physical address into the search field.
Using your mouse and the map controls choose the desired location and zoom level.
Click on the menu icon on the top left of the page:
Use the ‘Share and embed map’ tab from the list:
Open the ‘Embed Map’ tab. Copy the new generated code for Google map:
This is the code you need to use (value of the src attribute):
Replace your map src link with the new generated one:
Save changes on the page using Update button.
Feel free to check the detailed video tutorial below: