Extra fields are used to display extra information of the location in info-window by using custom placeholders. WP leaflet map allow you to create unlimited extra fields and display them in info window.
Show Locations Data
Step 1: Go to Setting page of wp leaflet map and scroll down to the ‘Extra Fields’ section.
Step 2: Add extra fields like Phone, website etc and Click Save Setting.
Step 3: Go to Add or Edit Locations and add information in ‘Extra Field(s)’ section.
Step 4: Then click Save Location.
Step 5: After add extra field in location , Go to Add or Edit Map page and scroll down to ‘Infowindow Message for Locations’ section and use placeholders in ‘Infowindow Message’ html input field.
* Use {extra_field} to display extra field, in the infowindow content. In this e.g You can use extra field as a placeholder like {phone}, {website} etc.
Step 6: click Save Map and your Location infowindow looks like :