• Resolved fede909

    (@fede909)


    Hello,

    There is a possibility to show in the map only one category?

    For example…i have 2 category mechanic and resellet and 2 page mechanic and reseller. in the reseller page i want to show only the store that are the reseller category. How can i do that?

    Thanks

    https://www.ads-software.com/plugins/wp-store-locator/

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

    (@tijmensmit)

    This isn’t possible at the moment, but in the 2.1 update you will be able to use a category attribute on the [wpsl_map] shortcode. So you can create a map that only shows the mechanic locations, and another one just showing the resellers.

    2.1 should be out this week, or otherwise early next week.

    This is exactly what I was going to ask about! This would be an awesome feature.

    Tijman, you have a stellar product here! Love what you’re doing. Please let us know when v2.1 comes out. Thanks for your hard work.

    Jerry

    what is the exact shortcode for this feature, something like:
    [wpsl category=”food”] ?

    @thaijeffrey – I don’t think it’s enabled yet. I believe Tijmen will be including it in the next version. Can’t wait!

    I just did the update to version 2.1, so I thought it is in it now

    DIdn’t even realize 2.1 is out! Reply to this thread when you find out the shortcode syntax! Thanks.

    Plugin Author Tijmen Smit

    (@tijmensmit)

    but in the 2.1 update you will be able to use a category attribute on the [wpsl_map] shortcode.

    The wpsl shortcode doesn’t support the category attribute yet, it only works on the wpsl_map shortcode.

    [wpsl] renders the store search with the map.
    [wpsl_map] renders just the map for the provided location ids, or locations assigned to the provided category slug(s).

    [wpsl_map category=”restaurant”] is exactly what I needed, thank you

    Should also include a [wpsl category=”restaurant”] because with [wpsl_map category=”restaurant”] we only see the map and cannot get more information on each location.

    And how can we publish a store on a page like it’s permalink?

    Plugin Author Tijmen Smit

    (@tijmensmit)

    I will add support for the category attribute in the [wpsl] shortcode in the near future.

    You mean that the store header has no permalink / url if you have a map with only locations from category x on it? This is something I overlooked, and will be fixed early next week.

    A store information can directly be accessed by its permalink /store/my_store_name with map, store name, address and more info.

    The only way to show that information in a other page, is to use [wpsl_map id=310] only show the map location without any other information. I would like to use this in my contact page instead of creating an html.

Viewing 11 replies - 1 through 11 (of 11 total)
  • The topic ‘Show store by category’ is closed to new replies.