Hi there, thanks for writing.
Unfortunately there is no built-in support for the features you mention. The search term is mandatory, and while you can show a category dropdown that you could use for countries, it would be of little use because the plugin is always going to take the search term as a reference, as the center of an imaginary circumference from where it searches your database for store locations based on distance.
Although it is possible to add a second dropdown, it won’t add much benefit to your scenario either, because if you For example choose “United states” as the country and “Colorado” as the region, but then you search for “Miami FL”, the search won’t return anything, since there are probably no stores in your database near Miami where the region value is “Colorado”.
Any thoughts?
Thread Starter
Riccardo
(@riccardoarmari)
Thanks!
Instead, I would like to be able to create personalized cards with the information of each store (address, city, category, country, phone, email, etc.) to be inserted on a separate page. I have activated permalinks from the plugin settings, which allow me (with Elementor, for example) to call and use this “custom post type” Store.
How can I dynamically retrieve the above information (address, city, category, country, phone, email, etc.)? Is there a key/code/shortcode/custom field that I can use for each one?
Example: https://imgur.com/a/kWnxuBh
Thanks again for your availability!
Hi again, Riccardo,
From your screenshot, it looks like you’re trying to create a Location Directory, does that sound right?
Our documentation includes several shortcodes for displaying specific store information, such as [wpsl_address], [wpsl_hours], or [wpsl_map]. However, if you want a page with multiple store “cards” displaying all those details, that functionality isn’t built-in. You would need to develop it yourself, possibly using the WP_Query class.
That said, we are working on a native Location Directory feature for our upcoming version 3.0, but it’s still in development.
Let me know if you need further guidance!
Best regards,