Support » Plugin: WP Store Locator » Direct link to certain search

  • Resolved flow__

    (@flow_)


    Hi! First of all, great plugin and thank you so much.

    I was wondering, would it be possible to link to a page loading the store locator, and instantly triggering a search for a certain category – as if the plugin was loaded with a shortcode like [wpsl template=”default” category=”fast-food,italian”] ?

    I can imagine something like ?category=fast-food,italian in the url, which would immediately load this category. This would help me very much.

    Thanks – Floris

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

    (@tijmensmit)

    This is unfortunately not possible without making several modifications to the core code.

    Aside from triggering the submit button with JS, and modifying the SQL query to include the category names, you also have to change the code so that it doesn’t search for coordinates that fall within x miles, which normally happen.

    flow__

    (@flow_)

    Ah I understand, ok too bad, I’ll think of something else. Thanks 🙂

Viewing 2 replies - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.