Displaying the number of items

Is there a way to display the number of posts in a tagged article list or the archive? Something like “Archive (182)” and “Tagged ‘news’ (34)”? Thanks!

2 replies

Yes, you can use the length property on any list of entries. For example:

Archive ({{all_entries.length}})
Tagged ‘news’ ({{entries.length}})

Please let me know if you have any questions about this or anything else

Answered 2 years ago · Improve this answer


Answered 2 years ago · Improve this answer

Markdown allowed
Question or feedback?
Contact us


developers 28 questions bug 14 questions posts 9 questions resolved 7 questions request 6 questions google-drive 5 questions configure 4 questions pages 3 questions added 3 questions meta 3 questions More tags →
Subscribe for changes
RSS Feed of latest questions