CMS
Objects
Display Link

DisplayLink

A display link is an element, which is frequently used across multiple banners and structures. A display link represents a clickable link for the user in the frontend. The url of link can either be an internal one, pointing on a page on the current website, an external link redirecting to another webpage, an anchor tag or an empty link (url='#') used as interactable link to trigger the hover to show a mega menu for example.

Code

DisplayLinkDto
{
   "url":"#",
   "displayText":"Explore fruits",
   "descriptiveText":"Explore all fruit products"
}

Arguments

url
string
required

The url where the link should point to.

displayText
string|
null

The text that is shown as link. If no display text is provided, the raw url is displayed instead.

descriptiveText
string|
null

An optional description text, used for SEO and accessibility purposes.