Skip Navigation

[Resolved] Google map address fields view in front end

This support ticket is created 3 years, 7 months ago. There's a good chance that you are reading advice that it now obsolete.

This is the technical support forum for Toolset - a suite of plugins for developing WordPress sites without writing PHP.

Everyone can read this forum, but only Toolset clients can post in it. Toolset support works 6 days per week, 19 hours per day.

Sun Mon Tue Wed Thu Fri Sat
- 9:00 – 12:00 9:00 – 12:00 9:00 – 12:00 9:00 – 12:00 9:00 – 12:00 -
- 13:00 – 18:00 13:00 – 18:00 13:00 – 18:00 14:00 – 18:00 13:00 – 18:00 -

Supporter timezone: America/Jamaica (GMT-05:00)

This topic contains 9 replies, has 2 voices.

Last updated by Shane 3 years, 7 months ago.

Assisted by: Shane.

Author
Posts
#2263719

Tell us what you are trying to do?
- Trying with Toolset - Fields and Views

Is there any documentation that you are following?
- https://toolset.com/course-lesson/how-content-is-displayed-in-wordpress/

Is there a similar example that we can see?

What is the link to your site?
- hidden link

#2263761

Shane
Supporter

Languages: English (English )

Timezone: America/Jamaica (GMT-05:00)

Hi Rodrigo,

Thank you for getting in touch.

I'm not 100% sure of your issue. Is it that you are trying to display your address on the frontend ?

Please let me know.
Thanks,
Shane

#2263829

I want to display address with google map can you please help me to display the frontend?

#2263867
frontend.png
backend.png

Please check screenshot for the same

#2263947

Shane
Supporter

Languages: English (English )

Timezone: America/Jamaica (GMT-05:00)

Hi Rodrigo,

I recommend that you follow the instructions in the tutorial below. This should be able help you with displaying your map.
https://toolset.com/course-lesson/displaying-a-map-on-a-single-post-template/

Thanks,
Shane

#2264279
map-config.png

I have checked this video before but I am not able to see exact setting in map block. Please check screenshot for the same

#2264693

Also can you please to get view for Repeatable field?
In your documentation all forum are old version of the plugins

#2264709

Shane
Supporter

Languages: English (English )

Timezone: America/Jamaica (GMT-05:00)

Hi Rodrigo,

Based on your screenshots you're using the classic editor which is why you're getting this interface.

To do this with the classic editor you will need to use the Fields and Views button and first insert your map shortcode like below.

[wpv-map-render map_id="map-2" map_width="400px" map_height="200px" fitbounds="off" general_zoom="6" single_zoom="15" cluster="on"]

Then using the Fields and Views button again you will need to insert the marker, All you will need to do is to search for Marker and you will see the item show up.

From there just select the relevant fields for the marker to pull the data from and it should generate a shortcode similar to below.

[wpv-map-marker map_id="map-2" marker_id="my-marker" marker_title="This is a marker" marker_field="wpcf-my-marker"]This is the content of the marker popup.[/wpv-map-marker]

Notice that the map_id attribute in the marker shortcode and the map shortcode are both the same value.

Also the marker_field attribute contains the slug of the custom field that holds the address.

Please let me know if this was a bit clearer for you.

Thanks,
Shane

#2264763

Hello,

Yes got it.

I am using classic editor.

Can you please to get view for Repeatable field?
In your documentation all forum are old version of the plugins

#2264791

Shane
Supporter

Languages: English (English )

Timezone: America/Jamaica (GMT-05:00)

Hi Rodrigo,

Can you please to get view for Repeatable field?

For clarity are you specifically talking about Repeatable fields or Repeatable field groups.

For repeatable fields they can be displayed by using this shortcode below.
http://toolset.com/documentation/programmer-reference/views/views-shortcodes/#wpv-for-each

This will allow you to customize how you're displaying your repeating fields.

For repeatable field groups this will require a view to achieve as per our documentation below.
https://toolset.com/course-lesson/creating-and-displaying-repeatable-field-groups/#creating-repeatable-field-groups

Thanks,
Shane