All Collections
FAQ
CMS
How to set a link for each item in a list / CMS list (ul)
How to set a link for each item in a list / CMS list (ul)

When you set a link for each item in a list and it all applies to the same link

STUDIO Support avatar
Written by STUDIO Support
Updated over a week ago

When you set a link to items in a list in a regular way, the same URL will be applied to all the items.

In this article, we'll walk you through how to set a link for each item in a list.

Case 1. Manually created list

1. Open the list settings panel

Select a list and click the green button to open the settings panel.

2. Add URL property

Click the + button and add the URL property to the list.

2. Type the URL or Select from page list for each item

You can type external links to the URL property, or you can select internal pages from the list.

3. Select a property in the Link settings of the list item

Select the list item and go to link settings. Click + button and select the URL property you have just added.

In the live preview, you will see each item has a URL registered in the properties. If everything is fine, please update your site.

Case 2 : CMS list

Lists in CMS templates are often linked to the CMS. In this case, you have to configure the settings on the editor and dashboard.

1. Add properties to CMS model

In the article editor of the CMS dashboard, select the modal linked to the list.

Add a property to set a link here.

In the picture below, a text type property named url has been added with unwrap setting. We will select this url property in the editor later.

2. Set the URL for each article in the property you added

Enter a string for each article (each item in the list) and update the articles.

3. In the Design Editor, select a property in the URL Link setting of a list item

Set the URL link in the box. Click + button and select the URL property you have just added.

In the live preview, you will see each item has a URL registered in the properties. If everything is fine, please update your site.

Did this answer your question?