Skip Navigation

[Resolved] Display only the map based on the post with view instead of all maps….

This thread is resolved. Here is a description of the problem and solution.

Problem:
The user would like to display a map and marker inside an Elementor template

Solution:
The current Toolset-Elementor integration offers only a view widget. But we can still use shortcodes to insert a content template inside of an Elementor template:

[wpv-post-body view_template="Name or slug of the content template"]

Create a Toolset content template, add the map and the marker to it. Then display it inside Elementor using the wpv-post-body shortcode.

Relevant Documentation:
https://toolset.com/documentation/programmer-reference/views/views-shortcodes/#vf-153372

This support ticket is created 3 years, 5 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.

No supporters are available to work today on Toolset forum. Feel free to create tickets and we will handle it as soon as we are online. Thank you for your understanding.

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

Supporter timezone: Africa/Casablanca (GMT+01:00)

This topic contains 3 replies, has 2 voices.

Last updated by jeanL-2 3 years, 5 months ago.

Assisted by: Jamal.

Author
Posts
#2067289
Capture.JPG

Hello,

I have a very simple question, how to display only the map linked to the address entered in the post instead of all the maps using view and elementor.....

Thank you in advance,

Jean

#2067519

Hello Jean and thank you for contacting Toolset support.

I am really sorry, but I did not understand your question very well. Could you elaborate a little more on your question?
Please, free to use French if you would like so, I do speak French.

However, I'll try to give a bit of advice based on what I understood so far. You want to display a map and a marker from a post inside Elementor, right?
If yes, I'll suggest that you create a content template, add a map to it, then add a marker that should pull the address from the address field post. Then you can include that content template inside Elementor using a shortcode:

[wpv-post-body view_template="Name or slug of the content template"]

Check the possible arguments of the wpv-post-body shortcode here https://toolset.com/documentation/programmer-reference/views/views-shortcodes/#vf-153372

#2068593

Bonjour Jamal,

Désolé pour mon anglais, mais vous avez bien compris mon problème et la solution proposée a été concluante, de ce fait mon problème est résolu.

Merci à vous,

Jean

#2068595

My issue is resolved now. Thank you!