Skip to content
  • Recent
  • Tags
  • Popular
  • Users
  • Search
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse

Lay Theme Forum

  1. Home
  2. General Discussion
  3. Google Map shortcode

Google Map shortcode

Scheduled Pinned Locked Moved General Discussion
9 Posts 7 Posters 1.2k Views
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • E Offline
    E Offline
    Emmanuel Pevny
    wrote on last edited by Emmanuel Pevny
    #1

    Hello, i would like to know if it's possible to embed a google map.
    Usualy I use WP GOOGLE MAP plugin but the shortcode don't work with lay theme.
    Do you have a solution or another plugin to recommend?
    Emmanuel

    1 Reply Last reply
    0
    • rlonR Offline
      rlonR Offline
      rlon
      wrote on last edited by
      #2

      i have the same question. did you find a solution?

      1 Reply Last reply
      0
      • arminunruhA Offline
        arminunruhA Offline
        arminunruh
        Global Moderator
        wrote on last edited by
        #3

        https://support.google.com/maps/answer/144361?co=GENIE.Platform%3DDesktop&hl=en

        This says you can copy an embed code from within google maps.

        It is just an <iframe> that you can add in the gridder with "+more" -> "+shortcode".

        1 Reply Last reply
        0
        • M Offline
          M Offline
          MAN
          wrote on last edited by
          #4

          Hey Armin!

          Same issue here. In order to customize the map is necessary to use this plugin instead the iframe you mentioned, and it seems that Google Map plugin is not working on Lay.

          1 Reply Last reply
          0
          • arminunruhA Offline
            arminunruhA Offline
            arminunruh
            Global Moderator
            wrote on last edited by
            #5

            well i tried the plugin "https://wordpress.org/plugins/wp-google-maps/"
            and it worked for me on lay theme. you probably forgot to set the key for the plugin or you used a wrong key. that plugin needs a google authentication key "Google Maps API Key (required)"

            Good Luck!

            W 1 Reply Last reply
            0
            • J Offline
              J Offline
              jocelot
              wrote on last edited by
              #6

              Hey, thanks for your answer and my apologies, I was talking about this plugin https://es.wordpress.org/plugins/gmap-embed/ instead, now called "Google Map". I did it with the Google Maps API thing and it didn't worked but maybe I was doing something else wrong. Just in case you want to try.

              Thanks!

              1 Reply Last reply
              0
              • arminunruhA Offline
                arminunruhA Offline
                arminunruh
                Global Moderator
                wrote on last edited by
                #7

                Ok it seems to work similarly to the other map plugin that I used.

                Can you send me a link to the website/page where you are trying to use it?

                1 Reply Last reply
                0
                • arminunruhA arminunruh

                  well i tried the plugin "https://wordpress.org/plugins/wp-google-maps/"
                  and it worked for me on lay theme. you probably forgot to set the key for the plugin or you used a wrong key. that plugin needs a google authentication key "Google Maps API Key (required)"

                  Good Luck!

                  W Offline
                  W Offline
                  walshmagger
                  wrote on last edited by
                  #8

                  @arminunruh said in Google Map shortcode:

                  well i tried the plugin "https://wordpress.org/plugins/wp-google-maps/"
                  and it worked for me on lay theme. you probably forgot to set the key for the plugin or you used a wrong key. that plugin needs a google authentication key "Google Maps API Key (required)"

                  Latest Google Maps API requires personal API key for each published website - this is a decision made by Google Maps team.

                  You have to generate your own API key and use it in the template to get your maps working. More information is available on Google Maps API pages:

                  https://developers.google.com/maps/documentation/javascript/adding-a-google-map#step_3_get_an_api_key

                  1 Reply Last reply
                  0
                  • mariusjopenM Offline
                    mariusjopenM Offline
                    mariusjopen
                    Global Moderator
                    wrote on last edited by
                    #9

                    Dear @Emmanuel-Pevny

                    we hope that helped with the API?

                    Best!

                    Marius

                    www.mariusjopen.world

                    1 Reply Last reply
                    0
                    Reply
                    • Reply as topic
                    Log in to reply
                    • Oldest to Newest
                    • Newest to Oldest
                    • Most Votes


                    I also code custom websites or custom Lay features.
                    šŸ’æ Email me here: šŸ’æ
                    info@laytheme.com

                    Before you post:
                    1. When using a WordPress Cache plugin, disable it or clear your cache.
                    2. Update Lay Theme and all Lay Theme Addons
                    3. Disable all Plugins
                    4. Go to Lay Options → Custom CSS & HTML, click "Turn Off All Custom Code", click "Save Changes"

                    This often solves issues you might run into

                    When you post:
                    1. Post a link to where the problem is
                    2. Does the problem happen on Chrome, Firefox, Safari or iPhone or Android?
                    3. If the problem is difficult to explain, post screenshots / link to a video to explain it
                    Online Users
                    A
                    alasdair17
                    Forgot your key, lost your files, need a previous Lay Theme or Addon version? Go to www.laykeymanager.com
                    laytheme.com
                    • Login

                    • Don't have an account? Register

                    • Login or register to search.
                    • First post
                      Last post
                    0
                    • Recent
                    • Tags
                    • Popular
                    • Users
                    • Search