Map in Each Post – Add interactive maps to every post

설명

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.

Try it on a free mock site: click here

Features

  • Add a custom map to each post using a simple shortcode.
  • Customize each map with different points via a form in the post editor.
  • Select the post types where the map functionality should be enabled.
  • Easy to use and configure.
  • Compatible with the latest version of WordPress.

Usage

To use this plugin, simply add the following shortcode to your post to display a map with multiple points:

[mapInEachPost]

Or by specifying the center point and zoom:

[mapInEachPost zoom="3" lat="45.4399961" lon="10.9719328"]

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.

This will generate a map with points in New York City and Los Angeles.

To display a single point on the map, use the following shortcode:

[mapInEachPostPoint lat="39.8736" lon="8.7479" zoom="12" title="Point in Sardinia"]
  • lat: Latitude of the point (required)
  • lon: Longitude of the point (required)
  • zoom: Zoom level for the map (optional, default: 8)
  • title: Title of the point (optional, default: empty)
  • link: A URL to associate with the point (optional)
  • desc: A description for the point (optional)

For example, to display a point with additional information:

[mapInEachPostPoint lat="39.8736" lon="8.7479" zoom="12" title="Point in Sardinia" link="https://example.com" desc="Description of the Point in Sardinia"]

This will generate a map centered on the given latitude and longitude, with the point titled “Point in Sardinia” and a link to “https://example.com”.

Third Party Services

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.

You can find the source code and contribute to the project on GitHub:Map in Each Post on GitHub

스크린샷

설치

  1. Upload the plugin files to the /wp-content/plugins/map-in-each-post directory, or install the plugin through the WordPress plugins screen directly.
  2. Activate the plugin through the ‘Plugins’ screen in WordPress.
  3. Use the shortcode [map_in_post] in your posts to display a map and input points via the form in the post editor.
  4. Go to the plugin settings page to select the post types where the map functionality should be enabled.

FAQ

How do I add a map to my post?

Simply use the shortcode [mapInEachPost] in the post where you want the map to appear, and input the points using the form that appears in the post editor.

Can I customize the points on the map for each post?

Yes, you can customize the points for each map by entering the latitude and longitude coordinates in the form provided in the post editor.

How do I select the post types where the map functionality should be enabled?

Go to the plugin settings page and select the post types where you want the map functionality to be enabled.

What map service does this plugin use?

The plugin uses Leaflet, an open-source JavaScript library for mobile-friendly interactive maps, to display the maps.

후기

이 플러그인에 대한 평가가 없습니다.

기여자 & 개발자

“Map in Each Post – Add interactive maps to every post”(은)는 오픈 소스 소프트웨어입니다. 다음의 사람들이 이 플러그인에 기여하였습니다.

기여자

“Map in Each Post – Add interactive maps to every post”(이)가 1 개 언어로 번역되었습니다. 기여해 주셔서 번역자님께 감사드립니다.

자국어로 “Map in Each Post – Add interactive maps to every post”(을)를 번역하세요.

개발에 관심이 있으십니까?

코드 탐색하기는, SVN 저장소를 확인하시거나, 개발 기록RSS로 구독하세요.