[Resolved] Add Page Title/Slug To Link
-
I’m trying to add the page slug/title to a link to dynamically change the link based on the page title.
For example:
My Page Title: Chicago Cubs
External Link I Want To Have: https://www.stubhub.com/chicago-cubs-spring-training-tickets/In the sidebar, I want to have links to Stubhub that change based on the page the user is on.
The code would be something like
<a href="https://www.stubhub.com/<PAGE TITLE or SLUG>-spring-training-tickets/">Buy Tickets</a>
How do I call the page to include the dashes in the title to make the link work? Or what is the best way to call the page slug?
RESOLVED HERE: https://www.ads-software.com/support/topic/128046?replies=9
- The topic ‘[Resolved] Add Page Title/Slug To Link’ is closed to new replies.