{"id":121735,"date":"2020-05-20T06:41:16","date_gmt":"2020-05-20T06:41:16","guid":{"rendered":"https:\/\/fr.wordpress.org\/plugins\/cpt-to-map-store\/"},"modified":"2020-06-19T08:50:30","modified_gmt":"2020-06-19T08:50:30","slug":"cpt-to-map-store","status":"publish","type":"plugin","link":"https:\/\/twd.wordpress.org\/plugins\/cpt-to-map-store\/","author":15151048,"comment_status":"closed","ping_status":"closed","template":"","meta":{"_crdt_document":"","version":"1.1.0","stable_tag":"1.1.0","tested":"5.4.19","requires":"4.0","requires_php":"7.0","requires_plugins":"","header_name":"CPT to Map Store","header_author":"Ludovic RIAUDEL","header_description":"This is a short description of what the plugin does. It's displayed in the WordPress admin area.","assets_banners_color":"b8a068","last_updated":"2020-06-19 08:50:30","external_support_url":"","external_repository_url":"","donate_link":"https:\/\/www.paypal.me\/lriaudel","header_plugin_uri":"https:\/\/github.com\/lriaudel\/cpt-to-map-store","header_author_uri":"https:\/\/riaudel.net","rating":5,"author_block_rating":0,"active_installs":40,"downloads":1918,"num_ratings":1,"support_threads":0,"support_threads_resolved":0,"author_block_count":0,"sections":["description","installation","faq","changelog"],"tags":[],"upgrade_notice":{"1.0":"<p>Just released into the wild.<\/p>"},"ratings":{"1":0,"2":0,"3":0,"4":0,"5":"1"},"assets_icons":{"icon-128x128.png":{"filename":"icon-128x128.png","revision":"2309159","resolution":"128x128","location":"assets","locale":""},"icon-256x256.png":{"filename":"icon-256x256.png","revision":"2309159","resolution":"256x256","location":"assets","locale":""},"icon.svg":{"filename":"icon.svg","revision":"2309159","resolution":"","location":"assets","locale":""}},"assets_banners":{"banner-1544x500.png":{"filename":"banner-1544x500.png","revision":"2309159","resolution":"1544x500","location":"assets","locale":""},"banner-772x250.png":{"filename":"banner-772x250.png","revision":"2309159","resolution":"772x250","location":"assets","locale":""}},"assets_blueprints":{},"all_blocks":[],"tagged_versions":["1.0.1","1.0.2","1.0.3","1.1.0"],"block_files":[],"assets_screenshots":{"screenshot-1.png":{"filename":"screenshot-1.png","revision":"2308477","resolution":"1","location":"assets","locale":""},"screenshot-2.png":{"filename":"screenshot-2.png","revision":"2308477","resolution":"2","location":"assets","locale":""},"screenshot-3.png":{"filename":"screenshot-3.png","revision":"2308477","resolution":"3","location":"assets","locale":""},"screenshot-4.png":{"filename":"screenshot-4.png","revision":"2308477","resolution":"4","location":"assets","locale":""}},"screenshots":{"1":"screenshot-1.png","2":"screenshot-2.png","3":"screenshot-3.png","4":"screenshot-4.png"},"jetpack_post_was_ever_published":false},"plugin_section":[],"plugin_tags":[4606,2909,20490,16164,6102],"plugin_category":[49],"plugin_contributors":[186012,93547],"plugin_business_model":[],"class_list":["post-121735","plugin","type-plugin","status-publish","hentry","plugin_tags-geojson","plugin_tags-map","plugin_tags-open-street-map","plugin_tags-openstreetmap","plugin_tags-store-locator","plugin_category-maps-and-location","plugin_contributors-lriaudel","plugin_contributors-madvic","plugin_committers-lriaudel"],"banners":{"banner":"https:\/\/ps.w.org\/cpt-to-map-store\/assets\/banner-772x250.png?rev=2309159","banner_2x":"https:\/\/ps.w.org\/cpt-to-map-store\/assets\/banner-1544x500.png?rev=2309159","banner_rtl":false,"banner_2x_rtl":false},"icons":{"svg":"https:\/\/ps.w.org\/cpt-to-map-store\/assets\/icon.svg?rev=2309159","icon":"https:\/\/ps.w.org\/cpt-to-map-store\/assets\/icon.svg?rev=2309159","icon_2x":false,"generated":false},"screenshots":[{"src":"https:\/\/ps.w.org\/cpt-to-map-store\/assets\/screenshot-1.png?rev=2308477","caption":"screenshot-1.png"},{"src":"https:\/\/ps.w.org\/cpt-to-map-store\/assets\/screenshot-2.png?rev=2308477","caption":"screenshot-2.png"},{"src":"https:\/\/ps.w.org\/cpt-to-map-store\/assets\/screenshot-3.png?rev=2308477","caption":"screenshot-3.png"},{"src":"https:\/\/ps.w.org\/cpt-to-map-store\/assets\/screenshot-4.png?rev=2308477","caption":"screenshot-4.png"}],"raw_content":"<!--section=description-->\n<p>The plugin allows to :<\/p>\n\n<ol>\n<li>Generate a <a href=\"https:\/\/en.wikipedia.org\/wiki\/GeoJSON\">GEOJson<\/a> feed from coordinates recorded in the sample posts.<\/li>\n<li>Display this feed on a map with a shortcode.<\/li>\n<\/ol>\n\n<h3>Features<\/h3>\n\n<ul>\n<li>Mapping from a <strong>Post Type<\/strong> to generate a GeoJson feed of all posts.<\/li>\n<li>Exposure this <strong>Geojson feeds<\/strong> on the WordPress Rest-API<\/li>\n<li>Possibility to make a <strong>template<\/strong> for the map markers popup<\/li>\n<li>Coordinate reading compatibility for :\n\n<ul>\n<li>a text field<\/li>\n<li>an ACF Google Map field<\/li>\n<li>an ACF field for the <a href=\"https:\/\/wordpress.org\/plugins\/acf-openstreetmap-field\/\">ACF OpenStreetMap Fields<\/a> extension <\/li>\n<\/ul><\/li>\n<li>Displaying a map by <strong>shortcode of all points<\/strong>.<\/li>\n<li>Open Street Map put in <strong>cache<\/strong><\/li>\n<\/ul>\n\n<h3>Hook<\/h3>\n\n<h4>The marker content<\/h4>\n\n<p>You can customize more finely the marker popup content.<\/p>\n\n<p>Example:<\/p>\n\n<pre><code>&lt;?php\nfunction bindPopup_content_filter( $bindPopup_content, $post_id ) {\n    return \"Yeahhhhh\";\n}\n\nadd_filter( 'cpt_to_map_store_bindPopup_content', 'bindPopup_content_filter', 10, 2 );\n?&gt;\n<\/code><\/pre>\n\n<h3>Cache<\/h3>\n\n<p>This plugin works with <a href=\"https:\/\/wordpress.org\/plugins\/osm-tiles-proxy\/\">Tiles Proxy for OpenStreetMap<\/a> for put in cache the map tiles.<\/p>\n\n<h3>Translations<\/h3>\n\n<ul>\n<li>English - default, always included<\/li>\n<li>French<\/li>\n<\/ul>\n\n<h3>Important Information !<\/h3>\n\n<p>Have fun<\/p>\n\n<!--section=installation-->\n<p>This section describes how to install the plugin and get it working.\n1. Upload <code>cpt-to-map-store.php<\/code> to the <code>\/wp-content\/plugins\/<\/code> directory\n2. Activate the plugin through the 'Plugins' menu in WordPress\n3. In admin, Settings &gt; CPT to Map Store<\/p>\n\n<!--section=faq-->\n<dl>\n<dt><h3>What are the requirements?<\/h3><\/dt>\n<dd><ul>\n<li>Have a Post Type with Latitide and Longitude meta fields.<\/li>\n<li>And add a custom fields (https:\/\/wordpress.org\/support\/article\/custom-fields\/, ACF plugin, Pods or others...)<\/li>\n<\/ul><\/dd>\n\n<\/dl>\n\n<!--section=changelog-->\n<h4>1.1.0<\/h4>\n\n<ul>\n<li>Add the compatibility with the plugin \"Tiles Proxy for OpenStreetMap\" for put in cache the map tiles.<\/li>\n<\/ul>\n\n<h4>1.0.3<\/h4>\n\n<ul>\n<li>Add the marker content filter <code>cpt_to_map_store_bindPopup_content<\/code><\/li>\n<\/ul>\n\n<h4>1.0.2<\/h4>\n\n<ul>\n<li>Fix error in engueue scripts in class-cpt-to-map-store-public.php<\/li>\n<li>Fix Notice in functions.php<\/li>\n<li>Fix js error in public.js<\/li>\n<\/ul>\n\n<h4>1.0.1<\/h4>\n\n<ul>\n<li>Fix enqueue scripts and styles<\/li>\n<li>Fix isset var<\/li>\n<li>Add translate terms<\/li>\n<\/ul>\n\n<h4>1.0.0<\/h4>\n\n<ul>\n<li>initial<\/li>\n<\/ul>","raw_excerpt":"An another Store Locator on WordPress but with OpenStreetMap &amp; Leaflet and Meta Fields","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/twd.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin\/121735","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/twd.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin"}],"about":[{"href":"https:\/\/twd.wordpress.org\/plugins\/wp-json\/wp\/v2\/types\/plugin"}],"replies":[{"embeddable":true,"href":"https:\/\/twd.wordpress.org\/plugins\/wp-json\/wp\/v2\/comments?post=121735"}],"author":[{"embeddable":true,"href":"https:\/\/twd.wordpress.org\/plugins\/wp-json\/wporg\/v1\/users\/lriaudel"}],"wp:attachment":[{"href":"https:\/\/twd.wordpress.org\/plugins\/wp-json\/wp\/v2\/media?parent=121735"}],"wp:term":[{"taxonomy":"plugin_section","embeddable":true,"href":"https:\/\/twd.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_section?post=121735"},{"taxonomy":"plugin_tags","embeddable":true,"href":"https:\/\/twd.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_tags?post=121735"},{"taxonomy":"plugin_category","embeddable":true,"href":"https:\/\/twd.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_category?post=121735"},{"taxonomy":"plugin_contributors","embeddable":true,"href":"https:\/\/twd.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_contributors?post=121735"},{"taxonomy":"plugin_business_model","embeddable":true,"href":"https:\/\/twd.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_business_model?post=121735"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}