{"id":404614,"date":"2024-07-11T08:00:00","date_gmt":"2024-07-11T08:00:00","guid":{"rendered":"https:\/\/www.weixiaoduo.com\/plugins\/map-in-each-post\/"},"modified":"2025-08-31T18:41:00","modified_gmt":"2025-08-31T18:41:00","slug":"map-in-each-post","status":"publish","type":"post","link":"https:\/\/www.weixiaoduo.com\/plugins\/map-in-each-post\/","title":{"rendered":"Map in Each Post \u2013 Add interactive maps to every post"},"content":{"rendered":"<p>Map in Each Post allows you to easily add a map to your WordPress posts using shortcodes and a built-in form. You can customize each map with different points for each post. This plugin is ideal for travel blogs, location-based content, and any website that needs custom maps per post. Additionally, you can select which post types will have the map functionality enabled.<\/p>\n<p><strong>Try it on a free mock site: <a href=\"https:\/\/tastewp.org\/plugins\/map-in-each-post\/\" rel=\"nofollow ugc\">click here<\/a><\/strong><\/p>\n<h4>Features<\/h4>\n<ul>\n<li>Add a custom map to each post using a simple shortcode.<\/li>\n<li>Customize each map with different points via a form in the post editor.<\/li>\n<li>Select the post types where the map functionality should be enabled.<\/li>\n<li>Easy to use and configure.<\/li>\n<li>Compatible with the latest version of WordPress.<\/li>\n<\/ul>\n<h4>Usage<\/h4>\n<p>To use this plugin, simply add the following shortcode to your post to display a map with multiple points:<\/p>\n<pre><code>[mapInEachPost]\n<\/code><\/pre>\n<p>Or by specifying the center point and zoom:<\/p>\n<pre><code>[mapInEachPost zoom=\"3\" lat=\"45.4399961\" lon=\"10.9719328\"]\n<\/code><\/pre>\n<p>Then, use the form that appears in the post editor to input the latitude and longitude coordinates for the points you want to add to the map.<\/p>\n<p>This will generate a map with points in New York City and Los Angeles.<\/p>\n<p>To display a single point on the map, use the following shortcode:<\/p>\n<pre><code>[mapInEachPostPoint lat=\"39.8736\" lon=\"8.7479\" zoom=\"12\" title=\"Point in Sardinia\"]\n<\/code><\/pre>\n<ul>\n<li><code>lat<\/code>: Latitude of the point (required)<\/li>\n<li><code>lon<\/code>: Longitude of the point (required)<\/li>\n<li><code>zoom<\/code>: Zoom level for the map (optional, default: 8)<\/li>\n<li><code>title<\/code>: Title of the point (optional, default: empty)<\/li>\n<li><code>link<\/code>: A URL to associate with the point (optional)<\/li>\n<li><code>desc<\/code>: A description for the point (optional)<\/li>\n<\/ul>\n<p>For example, to display a point with additional information:<\/p>\n<pre><code>[mapInEachPostPoint lat=\"39.8736\" lon=\"8.7479\" zoom=\"12\" title=\"Point in Sardinia\" link=\"https:\/\/example.com\" desc=\"Description of the Point in Sardinia\"]\n<\/code><\/pre>\n<p>This will generate a map centered on the given latitude and longitude, with the point titled \u201cPoint in Sardinia\u201d and a link to \u201chttps:\/\/example.com\u201d.<\/p>\n<h3>Third Party Services<\/h3>\n<p>This plugin relies on the Leaflet service to display maps. Leaflet is an open-source JavaScript library for mobile-friendly interactive maps. By using this plugin, you agree to the terms of use and privacy policies of Leaflet.<\/p>\n<ul>\n<li>Service: <a href=\"https:\/\/leafletjs.com\/\" rel=\"nofollow ugc\">Leaflet<\/a><\/li>\n<li>License: <a href=\"https:\/\/github.com\/Leaflet\/Leaflet?tab=BSD-2-Clause-1-ov-file#readme\" rel=\"nofollow ugc\">BSD-2-Clause license<\/a><\/li>\n<\/ul>\n<p>You can find the source code and contribute to the project on GitHub:<a href=\"https:\/\/github.com\/Ellusu\/map-in-each-post\" rel=\"nofollow ugc\">Map in Each Post on GitHub<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>A simple plugin to insert customizable maps in posts using shortcodes. Supports unique maps per post and custom post types.<\/p>\n","protected":false},"author":65,"featured_media":404615,"comment_status":"open","ping_status":"","sticky":false,"template":"","format":"standard","meta":{"slim_seo":{"title":"Map in Each Post \u2013 Add interactive maps to every post - \u8587\u6653\u6735\u63d2\u4ef6\u76ee\u5f55","description":"A simple plugin to insert customizable maps in posts using shortcodes. Supports unique maps per post and custom post types."},"footnotes":""},"categories":[1],"tags":[29527,285,3228,71,345],"class_list":["post-404614","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-uncategorized","tag-custom-map","tag-map","tag-maps","tag-post","tag-shortcode"],"_links":{"self":[{"href":"https:\/\/www.weixiaoduo.com\/plugins\/wp-json\/wp\/v2\/posts\/404614","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.weixiaoduo.com\/plugins\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.weixiaoduo.com\/plugins\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.weixiaoduo.com\/plugins\/wp-json\/wp\/v2\/users\/65"}],"replies":[{"embeddable":true,"href":"https:\/\/www.weixiaoduo.com\/plugins\/wp-json\/wp\/v2\/comments?post=404614"}],"version-history":[{"count":0,"href":"https:\/\/www.weixiaoduo.com\/plugins\/wp-json\/wp\/v2\/posts\/404614\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.weixiaoduo.com\/plugins\/wp-json\/wp\/v2\/media\/404615"}],"wp:attachment":[{"href":"https:\/\/www.weixiaoduo.com\/plugins\/wp-json\/wp\/v2\/media?parent=404614"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.weixiaoduo.com\/plugins\/wp-json\/wp\/v2\/categories?post=404614"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.weixiaoduo.com\/plugins\/wp-json\/wp\/v2\/tags?post=404614"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}