Anchor Link to content items and sections
Anchor linking to a section
In order to anchor link to a section, you can do this using the Page Link option in the links modal. After choosing whether to link to the same page or to a different page you can choose which section on that page to link to from the dropdown.
Anchor linking to a specific content item
In order to add an anchor link to a specific content item, you should do this using the Web address option in the links modal.
After this, add a URL refinement to the end of the page you are linking to, in the format of: ?id={content item ID}. You should add the content item without any parentheses.
For example to link to content item “A” on the homepage of “mysite.com” you would need to add a link to:
https://mysite.com?id=ckkv5224jk242jk442 in the Web Address field of the links modal.
Alternatively, to link to content item ckkv5224jk242jk442 on the about us page, you would input: https://mysite.com/about-us?id=ckkv5224jk242jk442.
When linking to a content item, the content item you link to will be visible when the page loads, for example slides, tabs, accordion items and modals open automatically if they are linked to, or if any content items within them are linked to.
The exception to this is that when linking to tooltips, the user will be taken to the place where the tooltip is present, but will need to hover over the tooltip in order to see it.
It is also possible to link to an index within a source, for example to show the 2nd item on a slider with a source. In order to do this, you should:
Add the id and index of the slide in this format PAGE?id={contentItemId}-{index}, for example if the content item id is 123 and the index than we want to set it’s 2 the url should be formatted PAGE?id=123-2.