Skip Navigation

Displaying a Map on A Single Post Template in WordPress

You can use Toolset to add a map to templates for single posts. The address on the map is dynamic and comes from a custom field. This means that each post displays a map with a marker address relevant to that post.

Duration

Follow these steps

  1. Create or edit a Content Template for the relevant post type.
  2. Insert the Map block.
  3. In the Source for the marker section select Dynamic source.
  4. In the Post Source dropdown select a custom field that contains an address to show on the map.
Use a Dynamic source for map markers
Use a Dynamic source for map markers

Main Toolset Block Used in this Lesson

Maps with static and dynamic markers

Updated
July 31, 2020