{"id":26115,"date":"2014-06-01T10:16:17","date_gmt":"2014-06-01T14:16:17","guid":{"rendered":"http:\/\/www.templatemonster.com\/help\/?p=26115"},"modified":"2017-08-15T06:40:12","modified_gmt":"2017-08-15T10:40:12","slug":"wordpress-how-to-insert-google-map-using-shortcode","status":"publish","type":"post","link":"https:\/\/www.templatemonster.com\/help\/wordpress-how-to-insert-google-map-using-shortcode.html","title":{"rendered":"WordPress. How to insert Google map using shortcode"},"content":{"rendered":"<p>\r\n<\/p>\r\n<p>This tutorial will show you how to insert a Google map into your WordPress template using a shortcode.<\/p>\r\n<p><a href=\"http:\/\/www.youtube.com\/watch?v=1HnDFawjQU4?width=1280&amp;height=720\" rel=\"prettyPhoto\">WordPress. How to insert Google map using shortcode<\/a><\/p>\r\n<div class=\"inline-banner\">\r\n<a href=\"https:\/\/www.templatemonster.com\/service-center\/\">\r\n<img src=\"\/help\/files\/banners\/inline\/Banner-3-(835-x100).jpg\" \/>\r\n<\/a>\r\n<\/div>\r\n<p>1. Log into your admin panel and create a new page or post.<\/p>\r\n<p>2. In the <strong>Visual <\/strong>mode click the <strong>&lsquo;Insert ShortCode&rsquo;<\/strong> icon. <\/p>\r\n<p><a href=\"\/help\/wp-content\/uploads\/2013\/12\/WordPress_How_to_insert_Google_map_using_shortcode1.png\"><img loading=\"lazy\" src=\"\/help\/wp-content\/uploads\/2013\/12\/WordPress_How_to_insert_Google_map_using_shortcode1-300x238.png\" alt=\"WordPress_How_to_insert_Google_map_using_shortcode1\" width=\"300\" height=\"238\" class=\"aligncenter size-medium wp-image-35137\" srcset=\"https:\/\/www.templatemonster.com\/help\/wp-content\/uploads\/2013\/12\/WordPress_How_to_insert_Google_map_using_shortcode1-300x238.png 300w, https:\/\/www.templatemonster.com\/help\/wp-content\/uploads\/2013\/12\/WordPress_How_to_insert_Google_map_using_shortcode1-150x119.png 150w, https:\/\/www.templatemonster.com\/help\/wp-content\/uploads\/2013\/12\/WordPress_How_to_insert_Google_map_using_shortcode1.png 957w\" sizes=\"(max-width: 300px) 100vw, 300px\" \/><\/a><\/p>\r\n<p>3. You will see the <strong>&lsquo;Shortcode settings&rsquo;<\/strong> pop-up:<\/p>\r\n<p><a href=\"\/help\/wp-content\/uploads\/2014\/06\/WordPress_How_to_insert_Google_map_using_shortcode2.png\"><img loading=\"lazy\" src=\"\/help\/wp-content\/uploads\/2014\/06\/WordPress_How_to_insert_Google_map_using_shortcode2-300x162.png\" alt=\"WordPress_How_to_insert_Google_map_using_shortcode2\" width=\"300\" height=\"162\" class=\"aligncenter size-medium wp-image-35144\" srcset=\"https:\/\/www.templatemonster.com\/help\/wp-content\/uploads\/2014\/06\/WordPress_How_to_insert_Google_map_using_shortcode2-300x162.png 300w, https:\/\/www.templatemonster.com\/help\/wp-content\/uploads\/2014\/06\/WordPress_How_to_insert_Google_map_using_shortcode2-150x81.png 150w, https:\/\/www.templatemonster.com\/help\/wp-content\/uploads\/2014\/06\/WordPress_How_to_insert_Google_map_using_shortcode2.png 667w\" sizes=\"(max-width: 300px) 100vw, 300px\" \/><\/a><\/p>\r\n<p>4. To fill the first field, you need to generate a Google Map link. Go to <a href=\"https:\/\/www.google.com\/maps\/\" rel=\"nofollow\" target=\"_blank\">https:\/\/www.google.com\/maps\/<\/a> and find the required location using the search tool in the top left corner.<\/p>\r\n<p><a href=\"\/help\/wp-content\/uploads\/2013\/12\/WordPress_How_to_insert_Google_map_using_shortcode3.png\"><img loading=\"lazy\" src=\"\/help\/wp-content\/uploads\/2013\/12\/WordPress_How_to_insert_Google_map_using_shortcode3-300x195.png\" alt=\"WordPress_How_to_insert_Google_map_using_shortcode3\" width=\"300\" height=\"195\" class=\"aligncenter size-medium wp-image-35138\" srcset=\"https:\/\/www.templatemonster.com\/help\/wp-content\/uploads\/2013\/12\/WordPress_How_to_insert_Google_map_using_shortcode3-300x195.png 300w, https:\/\/www.templatemonster.com\/help\/wp-content\/uploads\/2013\/12\/WordPress_How_to_insert_Google_map_using_shortcode3-150x97.png 150w, https:\/\/www.templatemonster.com\/help\/wp-content\/uploads\/2013\/12\/WordPress_How_to_insert_Google_map_using_shortcode3.png 798w\" sizes=\"(max-width: 300px) 100vw, 300px\" \/><\/a><\/p>\r\n<p>5. Navigate to <strong>Settings->Share->Embed map<\/strong>.<\/p>\r\n<p><a href=\"\/help\/wp-content\/uploads\/2013\/12\/WordPress_How_to_insert_Google_map_using_shortcode4.png\"><img loading=\"lazy\" src=\"\/help\/wp-content\/uploads\/2013\/12\/WordPress_How_to_insert_Google_map_using_shortcode4-300x289.png\" alt=\"WordPress_How_to_insert_Google_map_using_shortcode4\" width=\"300\" height=\"289\" class=\"aligncenter size-medium wp-image-35139\" srcset=\"https:\/\/www.templatemonster.com\/help\/wp-content\/uploads\/2013\/12\/WordPress_How_to_insert_Google_map_using_shortcode4-300x289.png 300w, https:\/\/www.templatemonster.com\/help\/wp-content\/uploads\/2013\/12\/WordPress_How_to_insert_Google_map_using_shortcode4-150x144.png 150w, https:\/\/www.templatemonster.com\/help\/wp-content\/uploads\/2013\/12\/WordPress_How_to_insert_Google_map_using_shortcode4.png 646w\" sizes=\"(max-width: 300px) 100vw, 300px\" \/><\/a><\/p>\r\n<p>5. Open <strong>&#8216;Embed Map&#8217;<\/strong> tab and copy the code that starts with <strong>https:\/\/<\/strong>, basically the value of the <strong>&ldquo;src&rdquo;<\/strong> attribute:<\/p>\r\n<p><a href=\"\/help\/wp-content\/uploads\/2013\/12\/WordPress_How_to_insert_Google_map_using_shortcode5.png\"><img loading=\"lazy\" src=\"\/help\/wp-content\/uploads\/2013\/12\/WordPress_How_to_insert_Google_map_using_shortcode5-300x81.png\" alt=\"WordPress_How_to_insert_Google_map_using_shortcode5\" width=\"300\" height=\"81\" class=\"aligncenter size-medium wp-image-35140\" srcset=\"https:\/\/www.templatemonster.com\/help\/wp-content\/uploads\/2013\/12\/WordPress_How_to_insert_Google_map_using_shortcode5-300x81.png 300w, https:\/\/www.templatemonster.com\/help\/wp-content\/uploads\/2013\/12\/WordPress_How_to_insert_Google_map_using_shortcode5-150x40.png 150w, https:\/\/www.templatemonster.com\/help\/wp-content\/uploads\/2013\/12\/WordPress_How_to_insert_Google_map_using_shortcode5.png 928w\" sizes=\"(max-width: 300px) 100vw, 300px\" \/><\/a><\/p>\r\n<p>6. Paste it into the <strong>&lsquo;Google map link&rsquo;<\/strong> field of the <strong>&lsquo;Shortcode settings&rsquo;<\/strong> pop-up. Set the width and height parameters for your new Google Map.<\/p>\r\n<p><a href=\"\/help\/wp-content\/uploads\/2013\/12\/WordPress_How_to_insert_Google_map_using_shortcode6.png\"><img loading=\"lazy\" src=\"\/help\/wp-content\/uploads\/2013\/12\/WordPress_How_to_insert_Google_map_using_shortcode6-300x184.png\" alt=\"WordPress_How_to_insert_Google_map_using_shortcode6\" width=\"300\" height=\"184\" class=\"aligncenter size-medium wp-image-35141\" srcset=\"https:\/\/www.templatemonster.com\/help\/wp-content\/uploads\/2013\/12\/WordPress_How_to_insert_Google_map_using_shortcode6-300x184.png 300w, https:\/\/www.templatemonster.com\/help\/wp-content\/uploads\/2013\/12\/WordPress_How_to_insert_Google_map_using_shortcode6-150x92.png 150w, https:\/\/www.templatemonster.com\/help\/wp-content\/uploads\/2013\/12\/WordPress_How_to_insert_Google_map_using_shortcode6.png 845w\" sizes=\"(max-width: 300px) 100vw, 300px\" \/><\/a><\/p>\r\n<p>7. Use the <strong>&lsquo;Insert Shortcode&rsquo;<\/strong> button and save the changes. A Google Map has been added.<\/p>\r\n<p>This is the end of the tutorial. Please let us know if you have any questions.<\/p>\r\n<p>Feel free to check the detailed video tutorial below:<\/p>\r\n<p><a href=\"http:\/\/www.youtube.com\/watch?v=1HnDFawjQU4?width=1280&amp;height=720\" rel=\"prettyPhoto\">WordPress. How to insert Google map using shortcode<\/a><\/p>\r\n<\/p>\r\n<\/p>\r\n<p><\/p>","protected":false},"excerpt":{"rendered":"<p>This tutorial will show you how to insert a Google map into your WordPress template using a shortcode.<\/p>\n","protected":false},"author":37,"featured_media":26124,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":[],"categories":[728],"tags":[929,1113,1415,2405],"_links":{"self":[{"href":"https:\/\/www.templatemonster.com\/help\/wp-json\/wp\/v2\/posts\/26115"}],"collection":[{"href":"https:\/\/www.templatemonster.com\/help\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.templatemonster.com\/help\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.templatemonster.com\/help\/wp-json\/wp\/v2\/users\/37"}],"replies":[{"embeddable":true,"href":"https:\/\/www.templatemonster.com\/help\/wp-json\/wp\/v2\/comments?post=26115"}],"version-history":[{"count":1,"href":"https:\/\/www.templatemonster.com\/help\/wp-json\/wp\/v2\/posts\/26115\/revisions"}],"predecessor-version":[{"id":82683,"href":"https:\/\/www.templatemonster.com\/help\/wp-json\/wp\/v2\/posts\/26115\/revisions\/82683"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.templatemonster.com\/help\/wp-json\/wp\/v2\/media\/26124"}],"wp:attachment":[{"href":"https:\/\/www.templatemonster.com\/help\/wp-json\/wp\/v2\/media?parent=26115"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.templatemonster.com\/help\/wp-json\/wp\/v2\/categories?post=26115"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.templatemonster.com\/help\/wp-json\/wp\/v2\/tags?post=26115"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}