Total count of search results

Just a quick question I’m hoping someone knows the answer to. I’m using a looper and pagination for search results. Do you know what the DC is for the total count of items returned? I’ve tried using {{dc:looper:count}} but this only returns the total number of items going to be displayed. So for example, if there are 50 results but I only display 12 per page, then the DC returns 12. I want to access the value 50. Any ideas please? TIA.

Hi @pmason,

Thanks for reaching out.
You can get the Total Post Count using the {{dc:query:found_posts}}. I went ahead and added a Text element with the Dynamic Content code which shows the count.
Please find the screenshot describing it.

Hope it helps.
Thanks

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.