"Smarter" linking URLs internally from Headlines, buttons etc

First of all - sorry if this is an easy thing to do if you are a developer. I’m not :wink:

When i’m adding buttons and headlines on my website and want to link them to other pages on my site - instead of just typing a static URL, can I enter a dynamic URL in an easy way? Let’s say I want to link a button to my contact page and then I change the slug for some reason the link will be broken if it’s static.

Hi @jonasdbj,

Thanks for reaching out.
You can add any page or post link into the button by mentioning the post or page id into the {{dc:post:permalink}} like {{dc:post:permalink post=“23”}}, so even if you change the slug for the specific page it does not affect the link.

test-new-Content-Pro - 2021-06-02T171700.151

Please go through the article on how to find the page or post id.

Hope it helps.
Thanks

Oh sweet lord. Thanks @tristup

Hi @jonasdbj,

Glad that we are able to help you.

Thanks

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.