You can dynamically display the number of articles by each author in Webflow using CMS Collections, but it requires a workaround since Webflow doesn’t natively support count-based relational logic.
1. Use a Multi-Reference or Single-Reference Field
- Create a Collection called Authors.
- In your Articles Collection, add a Reference field (if each post has one author) or a Multi-reference field (if posts can have multiple authors) that links to the Authors Collection.
2. Manually Add Article Count to Authors Collection
Webflow does not dynamically count related items, so you need to manually update the number of articles per author:
- Add a Number field (e.g., "Article Count") to the Authors Collection.
- Periodically update this field manually with the correct count for each author.
- This number can then be displayed on author pages or CMS lists.
3. Automate Count Updates via Integration (Optional)
To avoid manual updates, you can use third-party tools:
- Use Make (Integromat), Zapier, or n8n to periodically:
- Query your Articles Collection and count the number of articles per author.
- Update the relevant Author item via the Webflow CMS API with the new article count.
4. Display the Count on the Site
- On your Author Template Page, insert a text element and bind it to the Article Count Number field.
- In an Authors Collection List, you can also show the count alongside each author's name or avatar.
Summary
Webflow doesn’t support dynamic counting of linked items, but you can show article counts per author by adding a manual or automated “Article Count” field in the Authors collection and keeping it updated. Combine this with collection references to build dynamic author pages.