Log in Sign up

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 Asked Jul 27 '21 at 8:00 · Improve this question

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 Jul 27 '21 at 16:10 · Improve this answer


Answered Jul 28 '21 at 6:44 · Improve this answer

Please, log in to add a reply.