Store Locator Plus® for WordPress › Forums › Store Locator Plus › Change Website Links to be Absolute
Tagged: absolute link, relative link, URL, website
- This topic has 5 replies, 2 voices, and was last updated 6 years, 4 months ago by Cici.
-
AuthorPosts
-
August 17, 2018 at 9:07 AM #57265steve19Participant
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?
August 17, 2018 at 3:17 PM #57268CiciKeymasterAS 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,
August 17, 2018 at 3:44 PM #57270steve19ParticipantHere 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.August 18, 2018 at 12:52 PM #57275CiciKeymasterAre 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
August 18, 2018 at 1:20 PM #57276steve19ParticipantI 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.
August 20, 2018 at 10:52 AM #57282CiciKeymasterThanks 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
-
AuthorPosts
- You must be logged in to reply to this topic.