• Resolved steveybuk

    (@steveybuk)


    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/

    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 to see the link]

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author Tijmen Smit

    (@tijmensmit)

    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

    (@steveybuk)

    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.