Title: SimpleMap Category ID shortcode
Last modified: August 20, 2016

---

# SimpleMap Category ID shortcode

 *  Resolved [vinylkemist](https://wordpress.org/support/users/vinylkemist/)
 * (@vinylkemist)
 * [14 years, 9 months ago](https://wordpress.org/support/topic/simplemap-category-id-shortcode/)
 * In the Help page for SimpleMap it states:
 * > If you want only certain categories or tags to show on a map, insert shortcode
   > like this, where the numbers are replaced with the ID numbers of your desired
   > categories and tags: [simplemap categories=2,5,14 tags=3,6,15]
 * On the Location Categories page there is no Category ID displayed. I attempted
   to put the slug in to only display locations with a certain category, but that
   didn’t work either.
 * Any help?

Viewing 2 replies - 1 through 2 (of 2 total)

 *  [Glenn Ansley](https://wordpress.org/support/users/blepoxp/)
 * (@blepoxp)
 * [14 years, 9 months ago](https://wordpress.org/support/topic/simplemap-category-id-shortcode/#post-2246855)
 * Hmm. I haven’t heard any reports of that not working lately. Try putting single
   quotes around the values like: [simplemap categories=’2,5,14′ tags=’3,6,15′]
 *  Thread Starter [vinylkemist](https://wordpress.org/support/users/vinylkemist/)
 * (@vinylkemist)
 * [14 years, 9 months ago](https://wordpress.org/support/topic/simplemap-category-id-shortcode/#post-2246856)
 * Thanks Glen,
 * The issue I was having was not with the shortcode, but figuring out what the 
   Category ID was. It doesn’t show on the Location Categories page. However, if
   I select a category and then look at the URL I see “edit-tags.php?action=edit&
   taxonomy=sm-category&tag_ID=26&post_type=sm-location” and was able to discern
   the category = 26. Putting this in the shortcode worked for me.
 * Thanks.

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘SimpleMap Category ID shortcode’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/simplemap_cca5a5.svg)
 * [SimpleMap Store Locator](https://wordpress.org/plugins/simplemap/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/simplemap/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/simplemap/)
 * [Active Topics](https://wordpress.org/support/plugin/simplemap/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/simplemap/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/simplemap/reviews/)

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 2 replies
 * 2 participants
 * Last reply from: [vinylkemist](https://wordpress.org/support/users/vinylkemist/)
 * Last activity: [14 years, 9 months ago](https://wordpress.org/support/topic/simplemap-category-id-shortcode/#post-2246856)
 * Status: resolved