Display Number of Post Results

I’m trying to display the number of post results on a page. I created a single page layout with a text field that says Showing {{dc:query:found_posts}} results. The problem with this is it just shows up as Shows 1 Results (see below) even though there is more than one result on that page.

This is the page with the layout.

Hello @santosfel5,

I have checked your layout and I found out that you have nested the Looper Providers incorrectly. Your Looper structure should be like this:

Main Looper Provider Query String  (post_type=eat_drink_dir_ltg&posts_per_page=-1&&orderby={{dc:url:param key="orderby" fallback="date"}}&order={{dc:url:param key="order" fallback="dsc"}}&offset=0&ignore_sticky_posts=1&category_name={{dc:term:slug}}&post__not_in%5B0%5D={{dc:post:id}}{{dc:url:param key="orderby" fallback="title"}})
      - Showing {{dc:looper:count}} results

      - Looper Consumer 
           - Looper Provider Current Terms 

And then you also need to this Showing {{dc:looper:count}} results to display the number of items.

And by the way, if you remove the maximum height setting in your Post (Column) element, then you will have a more neat item columns.

Kindly let us know how it goes.

Thank you that worked!

Hello @santosfel5,

Glad that we were able to help you. Please feel free to open a new thread if you have any more concerns.

Thanks

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