Skip Navigation

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

Ce fil est résolu. Voici une description du problème et la solution proposée.

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 Il y a 3 années et 5 mois. 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.

Aucun de nos assistants n'est disponible aujourd'hui sur le forum Jeu d'outils. Veuillez créer un ticket, et nous nous le traiterons dès notre prochaine connexion. Merci de votre compréhension.

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)

Ce sujet contient 3 réponses, a 2 voix.

Dernière mise à jour par jeanL-2 Il y a 3 années et 5 mois.

Assisté par: Jamal.

Auteur
Publications
#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!