Skip Navigation

[Resolved] How to add custom content in Map pop up

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

Problem:

How to add custom content to Toolset Maps pop up.

Solution:

In the section where you can add the pop up content, you can add shortcodes.

So the best way is to create a content template (Toolset > Content Template) and design whatever content you want to show.

Then retrieve that content template using the shortcode below in the pop up content:

[wpv-post-body view_template="Part - Marker info popup"]


Change the name of the content template with the one that you create.

Relevant Documentation:

https://toolset.com/course-lesson/displaying-a-list-of-posts-on-a-map/#add-marker-pop-up-content-and-hover-hints

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.

This topic contains 2 replies, has 2 voices.

Last updated by lesleeL 3 years, 5 months ago.

Assisted by: Christopher Amirian.

Author
Posts
#2308755

I am trying to get my street field to populate my pop up and it wont work.

hidden link

#2309607

Christopher Amirian
Supporter

Languages: English (English )

Hi there,

Please kindly check this documentation:

https://toolset.com/course-lesson/displaying-a-list-of-posts-on-a-map/#add-marker-pop-up-content-and-hover-hints

In the section where you can add the pop up content, you can add shortcodes.

So the best way is to create a content template (Toolset > Content Template) and design whatever content you want to show.

Then retrieve that content template using the shortcode below in the pop up content:

[wpv-post-body view_template="Part - Marker info popup"]

Change the name of the content template with the one that you create.

Thank you.

#2311349

My issue is resolved now. Thank you!