- This topic has 4 replies, 3 voices, and was last updated 7 years, 5 months ago by .
Create href Link From Current Page URL
You must be logged in to reply to this topic.
Hi,
I hope you can help. I’ve modified the page template and I’m looking for a simple enough way to automatically create an href link to a page, based on the current URL?
e.g.
“<div class=”subh-cta-text”>CURRENT-PAGE/enquiry-form</b>>Enquire Now!</div>”
So I’m looking for the string to insert the current page URL and just append it with a fixed phrase “/enquiry-form”
Thank you in advance
I had too much wine this weekend. I have realised how dumb this question is and it doesn’t need a reply.
Hello there,
I am glad to hear that you had a great weekend 🙂
So, have you already resolved your problem with relative paths?
Thanks,
Piotr BÄ…k
LOL that made me laugh.
We all have brain-farts sometimes 😉
Let me know if you have any other questions and Piotr will assist you.
You must be logged in to reply to this topic.