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.
Follow these steps
- Create or edit a Content Template for the relevant post type.
- Insert the Map block.
- In the Source for the marker section select Dynamic source.
- In the Post Source dropdown select a custom field that contains an address to show on the map.
Karten mit statischen und dynamischen Markern
Related topics
- Styling Single-post Templates
- Assigning Templates to Posts Conditionally
- Adding Custom JavaScript to Views, Templates and Archives
- Display Dynamic Sources Inside all Text Blocks
- YouTube Videos with Advanced Options
- Displaying Form Data
- Creating templates to display members-only content
- Installing Toolset Maps and Adding Address Fields
- Creating and Displaying Repeatable Field Groups
- Displaying a Simple Map
- Displaying a List of Posts on A Map
- Creating Templates to Display Custom Posts
- Creating Responsive Columns and Grids
- Display Content Conditionally
- Filtering and Ordering Map Markers by Distance
- Using custom styles for maps
- Creating an API Key for Using Google and Azure Maps
- How to Use Google Maps API from China
- Data Caching For Maps Addresses
Need help?
If you bought Toolset, log-in to your account and post your questions in Toolset technical support.
Not a client yet? Find the account that’s best for you.