Upfront: add code of google maps from HTML template

How do I add the code of google maps from HTML template?

I am converting the HTML template to theme using upfront builder, however, I need to add some sections with same design into the theme like what I have in HTML template. We are trying to add the codes of google maps.

Google maps in HTML template -- http://****tscr.com/hdmuhe
Location where I need the google maps in my theme -- http://*****scr.com/hdmuob

  • Predrag Dubajic

    Hey Riccardo,

    Hope you're doing well :slight_smile:

    Looks like we will need to take a bit different approach here and use the shortcode to include this custom map.

    I've attached a mu-plugin that you will need to unzip and place inside wp-content/mu-plugins/ folder.
    After that edit the file and change the URL of your marker image which is currently this:
    images/map-marker.png
    And use URL of a marker image, preferably on the same server as your site.

    After that all you need to do is add a Text element in upfront and paste this shortcode:
    [my_map]

    Let us know if that does the trick for you.

    Best regards,
    Predrag

Thank NAME, for their help.

Let NAME know exactly why they deserved these points.

Gift a custom amount of points.