Title: map with filter
Last modified: August 24, 2016

---

# map with filter

 *  Resolved [giuly_92](https://wordpress.org/support/users/giuly_92/)
 * (@giuly_92)
 * [10 years, 11 months ago](https://wordpress.org/support/topic/map-with-filter-1/)
 * I want to use the CP Google Maps Premium for to create a maps with a filter but
   i don’t understand how to insert the different filter(for example restaurants,
   parks).
    I include in my post of WordPress this shortcode[codepeople-post-map
   legend=”category” legend_title=”Select the categories to display on map”] but
   the legen of map that is created is compose of one category:Uncategorized. I 
   want to create a map equal to the one map of this link [https://wordpress.org/plugins/codepeople-post-map/screenshots/](https://wordpress.org/plugins/codepeople-post-map/screenshots/)
   Can you tell me the steps and the shortcode for to implementation this map with
   a filter?

Viewing 1 replies (of 1 total)

 *  Plugin Author [codepeople](https://wordpress.org/support/users/codepeople/)
 * (@codepeople)
 * [10 years, 11 months ago](https://wordpress.org/support/topic/map-with-filter-1/#post-6054285)
 * Hi,
 * First, be sure that the name of the taxonomy used to organize the posts (restaurants,
   parks, etc) is “category”. If the name of the taxonomy is different, you should
   use it in the “legend” attribute. For example, if the name of the taxonomy is
   my_categories, the shortcode would be:
 * [codepeople-post-map legend=”my_categories” legend_title=”Select the categories
   to display on map”]
 * Note: Pay attention, the name of taxonomy is not its title in the WordPress menu.
 * Second, the taxonomies are added to the map’s legend, only if there is at least
   a post/page associated to the taxonomy, with a point created in it.
 * Best regards.

Viewing 1 replies (of 1 total)

The topic ‘map with filter’ is closed to new replies.

 * ![](https://ps.w.org/codepeople-post-map/assets/icon-256x256.jpg?rev=980165)
 * [CodePeople Post Map for Google Maps](https://wordpress.org/plugins/codepeople-post-map/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/codepeople-post-map/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/codepeople-post-map/)
 * [Active Topics](https://wordpress.org/support/plugin/codepeople-post-map/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/codepeople-post-map/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/codepeople-post-map/reviews/)

## Tags

 * [category](https://wordpress.org/support/topic-tag/category/)
 * [filter](https://wordpress.org/support/topic-tag/filter/)
 * [map](https://wordpress.org/support/topic-tag/map/)

 * 1 reply
 * 2 participants
 * Last reply from: [codepeople](https://wordpress.org/support/users/codepeople/)
 * Last activity: [10 years, 11 months ago](https://wordpress.org/support/topic/map-with-filter-1/#post-6054285)
 * Status: resolved