Store Locator Plus® for WordPress Forums Store Locator Plus Change Website Links to be Absolute

Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #57265
    steve19
    Participant

    I copied the shortcode example ([slp_location name]) from this post: https://docs.storelocatorplus.com/blog/q-how-can-i-make-the-location-name-clickable-and-redirect-to-the-web-site/

    But all of the resulting links to my client sites are relative (e.g. http://www.mysite.com/store-locator/”http://www.clientsite.com”), so they obviously don’t work.

    How can I get SLP & WordPress to cooperate and produce an absolute, off-site link?

    #57268
    Cici
    Keymaster

    AS you may have noted in the link you provided that is a feature of the Experience add-on.

    i,e that post reads ” verbatim You can change the results Layout with the Experience Add-on by using a combination of shortcodes and html. i.e. use this in the Results Layout:
    [slp_location name]””””

    I do not see any orders under your name showing that ou bought the experience or any add-ons. Please read the posting guidelines, when posting we need INFO preferably a screenshot of your SLP  Plugin environment which would show us what versions and any add-ons you may have,

    #57270
    steve19
    Participant

    Here is a screenshot of the plugins we are using. Let me know if you need any other info. Thanks.

    Attachments:
    You must be logged in to view attached files.
    #57275
    Cici
    Keymaster

    Are you using SEO Pages?

    The Experience add-on allows you to change the results layout. You need sonme html and CSS experience here, or change Plugin style. I am not exactly sure what you are trying to obtain, are you trying to change the permalink or the website redirect?

    If you want to redirect to their SEO Pages, info here about the template, or here about attributes

    I think what you are referring to is here: See under the Results Layout shortcodes

    To change the “website link”  in results , see the layout info here

    #57276
    steve19
    Participant

    I have been trying to literally copy and paste the link example from https://docs.storelocatorplus.com/blog/q-how-can-i-make-the-location-name-clickable-and-redirect-to-the-web-site/, so that the business name would link to the location’s website.

    As it turns out, the example cited above uses “special/smart” quotation marks. When I replaced them with plain text quotation marks, the links worked as expected. It may help future users if you change those quotation marks in the post above.

    Thanks.

    #57282
    Cici
    Keymaster

    Thanks Steve, we didn’t realize people were copying and pasting from the doc site. We have to be areful with the formatting as you have found out, if we do not use block quotes it it changes the page we are posting on. I will revisit the post thanks

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