A simple plugin to insert customizable maps in posts using shortcodes. Supports unique maps per post and custom post types.
== Description ==
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.
= 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:
[mapInEachPost]
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.
== Installation ==
- Upload the plugin files to the
/wp-content/plugins/map-in-each-postdirectory, or install the plugin through the WordPress plugins screen directly. - Activate the plugin through the 'Plugins' screen in WordPress.
- Use the shortcode
[map_in_post]in your posts to display a map and input points via the form in the post editor. - Go to the plugin settings page to select the post types where the map functionality should be enabled.
== Frequently Asked Questions ==
= 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.
== 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.
- Service: Leaflet
- License: BSD-2-Clause license