Sydney Pro - Contact Form - Not loading

Hi all,

This is my site: http://bpp.mit.edu

I would like to add the same contact form you have on your demo to my Contact Us page of the Menu (on the top right).

I wasn’t able to configure this. How can I add these fields?

Thanks a lot!

Best,

Maria

Dear Maria,

Firstly you must setup your contact form by using the Contact Form 7 plugin. Then edit your contact page. In the “Contact info” metabox, enter your contact form ID you just created in the field that says “Enter your Contact Form 7 ID”.

To know its ID, please take a look at this contact form shortcode example:


[contact-form-7 id="3" title="Contact Us"]

The ID is 3.

I hope this reply helps.

Regards,
Kharis

Hi Kharis,
Thanks a lot for your help, it worked!
The only issue now is that the map is not showing the corresponding are. How can I adjust this?
Thanks again,
Maria

Dear Maria,

> The only issue now is that the map is not showing the corresponding are. How can I adjust this?

I would like to apologize in advance for inconvenience.

For some reason, Google now requires a JavaScript API key/authentication to use the Google Map service. To fix it, please try to edit the header-contact.php file in the child theme mode.

Replace this line:


<script type="text/javascript" src="https://maps.googleapis.com/maps/api/js?sensor=false"></script>

with:


<script type="text/javascript" src="https://maps.googleapis.com/maps/api/js?sensor=false&key=YOUR_API_KEY"></script>

Replace YOUR_API_KEY with your Google API key. You can obtain it here https://developers.google.com/maps/documentation/javascript/get-api-key

Regards,
Kharis

Hi Kharis,
Thanks a lot for your reply! How can I access to the header-contact.php file?
Thanks again!
Maria

Dear Maria,

You can edit it though WordPress template editor. Log into your site admin area, then navigate to Appearance > Themes > Editor > edit the header-contact.php file.

Regards,
Kharis

Hi Kharis,

Sorry to bother you again! Do you know weather getting the API Key is free of charge? Is there any other way to fix the map?

Thanks!

Maria

It’s free. AFAIK, it is the only way to fix it.

Regards,
Kharis

Hi Kharis, sorry for the delay! I fixed it, thanks a lot!