• Resolved kylewhenderson

    (@kylewhenderson)


    It would be a nice option to be able to display the website/url of a store in the store listings and/or the map info window. I would suggest the option of a link that says “view website” with option to change default label or alternatively show the URL itself. I personally would use the “view website” option to keep the interface clean, but I’m sure some people would prefer to show the URL itself.

    Let me know if this makes sense and if it’s possible. Thanks!

Viewing 3 replies - 1 through 3 (of 3 total)
  • Hi!

    Showing the URL in the search results is definitely possible, thanks to the wpsl_listing_template filter. Please check out this article in the documentation.

    The same result can be achieved in the info window using the wpsl_info_window_template instead.

    I hope that helps,
    Regards!!

    Thread Starter kylewhenderson

    (@kylewhenderson)

    This is perfect, thanks for pointing me in the right direction! One small suggestion would be to add target=”_blank” for the website links in these code snippets, but I suppose that’s a bit subjective.

    Hi again,

    Thanks for the suggestion. We give the freedom to modify the template in any way you want, so if you want to add the target=”_blank” attribute, that is fine! Actually there is people who prefer not to have it, so everybody is free to create their own template to suit their taste 🙂

    Regards,

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

The topic ‘Website/URL Display’ is closed to new replies.