Streaming live at 10am (PST)

Code help - count number of cms items



I have seen this post - Adding a dynamic item that counts the number of posts in a collection

Anyone with experience of adding this to webflow? If so can you send me the code and how to get it to work? Perhaps there is a script out there somewhere, although having search extensively not found anything so far.

Thanks very much you lovely people…


so the trick could be to drag in the collection list, set it to display none, but still count the number of posts in jQuery:

Screen Recording 2017-10-12 at 09.50

blogNumber = $('.blog-post').length;


hope this helps :slight_smile:


Thank you…that is exactly what I needed