Title: Unique Category Markers functions code
Last modified: June 25, 2018

---

# Unique Category Markers functions code

 *  Resolved [steveybuk](https://wordpress.org/support/users/steveybuk/)
 * (@steveybuk)
 * [7 years, 10 months ago](https://wordpress.org/support/topic/unique-category-markers-functions-code/)
 * Hi there, just looking for a couple pointers as I’m a bit stuck.
 * I’m trying to assign custom markers for store categories by following the instructions
   on this page: [https://wpstorelocator.co/document/set-unique-category-markers/](https://wpstorelocator.co/document/set-unique-category-markers/)
 * I’m just getting stuck on where/what to replace with the image url and category
   slug. How should the code look if the marker url is “/wp-content/uploads/map-
   markers-headoffice.png” and the category is “head-office”.
 * I think I’m missing a colon or something when adding it in.
 * Thanks so much in advance.
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Funique-category-markers-functions-code%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

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

 *  Plugin Author [Tijmen Smit](https://wordpress.org/support/users/tijmensmit/)
 * (@tijmensmit)
 * [7 years, 10 months ago](https://wordpress.org/support/topic/unique-category-markers-functions-code/#post-10435268)
 * You don’t need to modify the code in the article, it should work with the code
   as it is. The category names / url should be set automatically.
 *  Thread Starter [steveybuk](https://wordpress.org/support/users/steveybuk/)
 * (@steveybuk)
 * [7 years, 10 months ago](https://wordpress.org/support/topic/unique-category-markers-functions-code/#post-10439557)
 * Thanks. I could only get it to show up when that particular category was active,
   so I switched to your other method of custom markers per location.
 * Many thanks.

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

The topic ‘Unique Category Markers functions code’ is closed to new replies.

 * ![](https://ps.w.org/wp-store-locator/assets/icon-256x256.jpg?rev=1007784)
 * [WP Store Locator](https://wordpress.org/plugins/wp-store-locator/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/wp-store-locator/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/wp-store-locator/)
 * [Active Topics](https://wordpress.org/support/plugin/wp-store-locator/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/wp-store-locator/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/wp-store-locator/reviews/)

## Tags

 * [functions](https://wordpress.org/support/topic-tag/functions/)
 * [Markers](https://wordpress.org/support/topic-tag/markers/)

 * 2 replies
 * 2 participants
 * Last reply from: [steveybuk](https://wordpress.org/support/users/steveybuk/)
 * Last activity: [7 years, 10 months ago](https://wordpress.org/support/topic/unique-category-markers-functions-code/#post-10439557)
 * Status: resolved