Insights and Inspiration – The Hostnicker Blog

Using Multi-Reference Fields in Webflow CMS

April 4, 2024

Creating collections is the first step. Open your Webflow project and head to the CMS panel on the left side of the Webflow Designer. Click the "Create Collection" button, then name your first collection, such as "Authors." Add fields to this collection, like Name and Bio, and save it by clicking the "Create Collection" button. Repeat this for additional collections you need, like "Blog Posts" or "Categories."

Once your collections are established, create a multi-reference field. Go to the collection where you want to add this field, such as "Blog Posts." Click "Add Field" and select "Multi-Reference." Name your field, for example, "Authors," to reference multiple authors for each post. Choose the collection you want to reference—in this case, "Authors." Save your changes by clicking "Save Collection."

Next, populate your collections with items. In the "Authors" collection, add authors by clicking "Add Author" and filling out names and bios. For "Blog Posts," click "Add Blog Post" and complete the form. Find the multi-reference field you created (e.g., "Authors") and select the authors to link with each blog post.

To display this content on your webpage, open the Webflow Designer and navigate to the relevant page. Drag a Collection List onto the page and connect it to the "Blog Posts" collection. Inside, add elements to show blog post details, like headings for titles and paragraphs for text. To showcase authors linked via the multi-reference field, add a Text Block. Bind this text to the multi-reference field labeled "Authors" in the settings pane, and style it to display in a list or format of your choice.

Style and customize how your multi-reference field content looks. Use styling options to adjust fonts, sizes, colors, and spacing. Enhance visual clarity with Separators or Icons next to author names. Preview changes to see them as they'll appear live.

Finally, publish your website. Hit the "Publish" button at the top right of the Webflow Designer, choose your hosting options, and confirm the publication.

Using multi-reference fields in Webflow CMS effectively links different collections, enhancing content display and user experience. This guide helps build engaging, dynamic pages with creativity and ease. Experiment with these tools to enrich your web content.