Webflow sync, pageviews & more.
NEW
Answers

How can I display all non-featured blog posts in a second collection list on Webflow, including both featured and non-featured posts, but excluding the newest featured post displayed in the first list? Manually removing the featured flag from the old post every time a new featured post is published is not feasible.

To display all non-featured blog posts in a second collection list on Webflow, while excluding the newest featured post displayed in the first list, you will need to utilize filters and sorting options within Webflow's CMS system.

Here's a step-by-step guide on how you can achieve this:

Step 1: Create a new Collection List
Start by adding a new collection list to the second list where you want to display the non-featured posts. Choose the collection that contains your blog posts.

Step 2: Set up filters
In the settings panel for the collection list, click on the filter icon to define the filtering rules. You need to add two filters to achieve the desired result.

Filter 1: Exclude the newest featured post
Create a filter to exclude the newest featured post. To do this, you'll need to set up a conditional filter based on the date and the featured status. Here's an example:
- Filter by the "Featured" field being equal to "Yes"
- Sort the items with descending order by the date field
- Add a limit to the number of items shown, for example, 1, this will ensure that only the newest featured post is shown.

Filter 2: Show all non-featured posts
To display all non-featured posts, you'll need to add another filter. Here's an example of how you can achieve this:
- Filter by the "Featured" field being equal to "No"

Step 3: Design your collection list
Now that you have set up the filters, you can design your collection list as per your design specifications. You can customize the layout, typography, and styling of each item within the collection list.

Step 4: Preview and Publish
Preview your collection list in the Designer mode to ensure it displays the desired content correctly. If everything looks good, go ahead and publish your changes.

By implementing these steps, you will have a second collection list that displays all non-featured blog posts, including both featured and non-featured posts, but excluding the newest featured post displayed in the first list. This way, you won't have to manually remove the featured flag from the old post every time a new featured post is published.

Rate this answer

Other Webflow Questions