বৰ্ণনা
The plugin allows to :
- Generate a GEOJson feed from coordinates recorded in the sample posts.
- Display this feed on a map with a shortcode.
Features
- Mapping from a Post Type to generate a GeoJson feed of all posts.
- Exposure this Geojson feeds on the WordPress Rest-API
- Possibility to make a template for the map markers popup
- Coordinate reading compatibility for :
- a text field
- an ACF Google Map field
- an ACF field for the ACF OpenStreetMap Fields extension
- Displaying a map by shortcode of all points.
- Open Street Map put in cache
Hook
The marker content
You can customize more finely the marker popup content.
Example:
<?php
function bindPopup_content_filter( $bindPopup_content, $post_id ) {
return "Yeahhhhh";
}
add_filter( 'cpt_to_map_store_bindPopup_content', 'bindPopup_content_filter', 10, 2 );
?>
Cache
This plugin works with Tiles Proxy for OpenStreetMap for put in cache the map tiles.
Translations
- English – default, always included
- French
Important Information !
Have fun
স্ক্ৰীনশ্বট
ইনষ্টলেশ্যন
This section describes how to install the plugin and get it working.
1. Upload cpt-to-map-store.php
to the /wp-content/plugins/
directory
2. Activate the plugin through the ‘Plugins’ menu in WordPress
3. In admin, Settings > CPT to Map Store
সঘনাই উত্থাপিত প্ৰশ্ন
-
What are the requirements?
-
- Have a Post Type with Latitide and Longitude meta fields.
- And add a custom fields (https://wordpress.org/support/article/custom-fields/, ACF plugin, Pods or others…)
অৱদানকাৰী আৰু বিকাশকাৰীসকল
“Custom Post Type to Map Store” হৈছে মুক্ত উৎসৰ ছফ্টৱেৰ। এইসকল লোকে এই প্লাগিনত অৱদান আগবঢ়াইছে।
অৱদানকাৰীসকল“Custom Post Type to Map Store” 1টা ভাষাত অনুবাদ কৰা হৈছে। অনুবাদকসকলক তেওঁলোকৰ অৱদানৰ বাবে ধন্যবাদ।
আপোনাৰ ভাষাত “Custom Post Type to Map Store” অনুবাদ কৰক।
বিকাশৰ প্ৰতি আগ্ৰহী?
ক’ড ব্ৰাউজ কৰক, SVN ৰিপজিটৰী চাওক নাইবা RSS-দ্বাৰা বিকাশৰ পঞ্জী ছাবস্ক্ৰাইব কৰক।
সলনি-পঞ্জী
1.1.0
- Add the compatibility with the plugin “Tiles Proxy for OpenStreetMap” for put in cache the map tiles.
1.0.3
- Add the marker content filter
cpt_to_map_store_bindPopup_content
1.0.2
- Fix error in engueue scripts in class-cpt-to-map-store-public.php
- Fix Notice in functions.php
- Fix js error in public.js
1.0.1
- Fix enqueue scripts and styles
- Fix isset var
- Add translate terms
1.0.0
- initial