Maps not working

  • Posted in : uCard
  • Dbaptiste3813
    Participant

    website is http://www.jalynflowers.com

    Great template I love it. However I am having a problem with Google Map.

    I have an API code

    I also looked at the thread here in the support section of this website and saw the code swap. However I couldn’t find the “index.html” file you referred too. All i have is the index.php, but could not find it there.

    i did find this in the Apperances>Editor>Theme Function tab, but did want to touch it.

    wp_enqueue_script(‘ucard-google-map’, ‘//maps.googleapis.com/maps/api/js?key=’ . esc_attr($google_map_api_key), null, null, true);
    }
    else
    {
    wp_enqueue_script(‘ucard-google-map’, ‘//maps.googleapis.com/maps/api/js’, null, null, true);

    Please help or at least tell me where I can find the script “index.html”

    serkan
    Moderator

    Hi,
    Please update the theme. Then watch this steps;
    Go to appearance > customize > general > google map > paste your api key here.
    You don’t need to edit the theme file for the UCard theme.
    Thanks

    Dbaptiste3813
    Participant

    I got a key and put it in and as instructed and now the section is just blank. am I doing something wrong.

    Dbaptiste3813
    Participant

    AIzaSyBhg-2jUaiCSmteqrxEKk6ZT5fPpYvYyRE

    Here is the key they gave me.

    serkan
    Moderator

    Hi, Please go to pages > home > and be sure that you added the map shortcode here.
    Thanks

    Dbaptiste3813
    Participant

    Where is the map short code. I went to the short code page and it was not there only longitude and latitude.

    serkan
    Moderator

    You can find it in the documentation as well. Well when you import the dummy data it is also coming up.

    [row]
    [column width_md="6"]
    [map latitude=”29.720157″ longitude=”-95.4013379″ zoom=”4″ image=”http://themes.pixelwars.org/ucard/wp-content/uploads/2016/11/marker1.png”%5D
    [/column]
    [column width_md="6"]
    <h4>Drop Me A Line</h4>
    [contact_form to="info@johndoe.com" subject="Contact form message from uCard"]
    [/column]

Viewing 7 posts - 1 through 7 (of 7 total)

You must be logged in and have valid license to reply to this topic.

License required for the following item
Login and Registration Log in · Register