Title: Custom Post Type to Map Store
Author: lriaudel
Published: <strong>20 maaie, 2020</strong>
Last modified: 19 juny, 2020

---

Search plugins

![](https://ps.w.org/cpt-to-map-store/assets/banner-772x250.png?rev=2309159)

Dizze plugin **is net hifke mei de lêste 3 grutte releases fan WordPress** . It 
kin net langer wurde ûnderhâlden of stipe en kin kompatibiliteitsproblemen hawwe
as it wurdt brûkt mei resinte ferzjes fan WordPress.

![](https://ps.w.org/cpt-to-map-store/assets/icon.svg?rev=2309159)

# Custom Post Type to Map Store

 Troch [lriaudel](https://profiles.wordpress.org/lriaudel/)

[Download](https://downloads.wordpress.org/plugin/cpt-to-map-store.1.1.0.zip)

 * [Details](https://fy.wordpress.org/plugins/cpt-to-map-store/#description)
 * [Resinsjes](https://fy.wordpress.org/plugins/cpt-to-map-store/#reviews)
 *  [Ynstallaasje](https://fy.wordpress.org/plugins/cpt-to-map-store/#installation)
 * [Ûntwikkeling](https://fy.wordpress.org/plugins/cpt-to-map-store/#developers)

 [Stypje](https://wordpress.org/support/plugin/cpt-to-map-store/)

## Beskriuwing

The plugin allows to :

 1. Generate a [GEOJson](https://en.wikipedia.org/wiki/GeoJSON) feed from coordinates
    recorded in the sample posts.
 2. 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](https://wordpress.org/plugins/acf-openstreetmap-field/)
      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](https://wordpress.org/plugins/osm-tiles-proxy/)
for put in cache the map tiles.

### Translations

 * English – default, always included
 * French

### Important Information !

Have fun

## Skermôfbyldings

 * [[
 * screenshot-1.png
 * [[
 * screenshot-2.png
 * [[
 * screenshot-3.png
 * [[
 * screenshot-4.png

## Ynstallaasje

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

## FAQ

### 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…)

## Resinsjes

![](https://secure.gravatar.com/avatar/2e71000db90d24bc6999e68672e18bd7781c138074f95c7b956f1f85d27ec46e?
s=60&d=retro&r=g)

### 󠀁[Good](https://wordpress.org/support/topic/good-5429/)󠁿

 [maelleweb](https://profiles.wordpress.org/maelleweb/) 21 maaie, 2020

Thanks for this work. It help me.

 [ Lês alle 1 resinsje ](https://wordpress.org/support/plugin/cpt-to-map-store/reviews/)

## Meiwurkers & amp; Untwikkelders

“Custom Post Type to Map Store” is iepen boarne software. De folgjende minsken hawwe
bydroegen oan dizze plugin.

Meiwurkers

 *   [ lriaudel ](https://profiles.wordpress.org/lriaudel/)
 *   [ madvic ](https://profiles.wordpress.org/madvic/)

“Custom Post Type to Map Store” is oerset yn 1 locale. Tank oan [de oersetters](https://translate.wordpress.org/projects/wp-plugins/cpt-to-map-store/contributors)
foar harren bydragen.

[Oersette “Custom Post Type to Map Store” yn jo taal.](https://translate.wordpress.org/projects/wp-plugins/cpt-to-map-store)

### Ynteressearre yn ûntwikkeling?

[Blêdzje troch de koade](https://plugins.trac.wordpress.org/browser/cpt-to-map-store/),
besjoch de [SVN-repository](https://plugins.svn.wordpress.org/cpt-to-map-store/),
of abonnearje op it [ûntwikkelingslogboek](https://plugins.trac.wordpress.org/log/cpt-to-map-store/)
troch [RSS](https://plugins.trac.wordpress.org/log/cpt-to-map-store/?limit=100&mode=stop_on_copy&format=rss).

## Feroaringslog

#### 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

## Meta

 *  Version **1.1.0**
 *  Last updated **6 jier yn ôl**
 *  Active installations **30+**
 *  WordPress version ** 4.0 of heger **
 *  Tested up to **5.4.19**
 *  PHP version ** 7.0 of heger **
 *  Languages
 * [English (US)](https://wordpress.org/plugins/cpt-to-map-store/) en .[French (France)](https://fr.wordpress.org/plugins/cpt-to-map-store/).
 *  [Oersette yn jo taal](https://translate.wordpress.org/projects/wp-plugins/cpt-to-map-store)
 * Tags
 * [geojson](https://fy.wordpress.org/plugins/tags/geojson/)[map](https://fy.wordpress.org/plugins/tags/map/)
   [open street map](https://fy.wordpress.org/plugins/tags/open-street-map/)[openstreetmap](https://fy.wordpress.org/plugins/tags/openstreetmap/)
   [Store locator](https://fy.wordpress.org/plugins/tags/store-locator/)
 *  [Avansearre werjefte](https://fy.wordpress.org/plugins/cpt-to-map-store/advanced/)

## Wurdearrings

 5 out of 5 stars.

 *  [  1 5-star review     ](https://wordpress.org/support/plugin/cpt-to-map-store/reviews/?filter=5)
 *  [  0 4-star reviews     ](https://wordpress.org/support/plugin/cpt-to-map-store/reviews/?filter=4)
 *  [  0 3-star reviews     ](https://wordpress.org/support/plugin/cpt-to-map-store/reviews/?filter=3)
 *  [  0 2-star reviews     ](https://wordpress.org/support/plugin/cpt-to-map-store/reviews/?filter=2)
 *  [  0 1-star reviews     ](https://wordpress.org/support/plugin/cpt-to-map-store/reviews/?filter=1)

[Your review](https://wordpress.org/support/plugin/cpt-to-map-store/reviews/#new-post)

[See all reviews](https://wordpress.org/support/plugin/cpt-to-map-store/reviews/)

## Meiwurkers

 *   [ lriaudel ](https://profiles.wordpress.org/lriaudel/)
 *   [ madvic ](https://profiles.wordpress.org/madvic/)

## Stypje

Hast wat te sizzen? Help nedich hawwe?

 [Besjoch stipefoarum](https://wordpress.org/support/plugin/cpt-to-map-store/)

## Doar

Wolle jo de foarútgong fan dizze plugin stypje?

 [ Donearje oan dizze plugin ](https://www.paypal.me/lriaudel)