Skip Navigation

[Resolved] [wpv-found-count] is not updating when using filters

This thread is resolved. Here is a description of the problem and solution.

Problem:

[wpv-found-count] is not updating when using filters

Solution:

In order for the shortcode to update with the proper count it needs to be within the [wpv-items-found] shortcode.

This support ticket is created 3 years, 4 months ago. There's a good chance that you are reading advice that it now obsolete.

This is the technical support forum for Toolset - a suite of plugins for developing WordPress sites without writing PHP.

Everyone can read this forum, but only Toolset clients can post in it. Toolset support works 6 days per week, 19 hours per day.

This topic contains 2 replies, has 2 voices.

Last updated by phillipS-5 3 years, 4 months ago.

Assisted by: Christopher Amirian.

Author
Posts
#2533755
Screenshot 2023-01-13 at 15.55.16.png

I am trying to: Show the amount of courses available. I have set up a filter section by course category. When I click one of the filters, the 'Showing X Courses' does not update and stays as the number from page load.

Link to a page where the issue can be seen: hidden link It is at the bottom of this page.

I expected to see: When I use a filter, the number of courses available should reduce or increase.

Instead, I got: The number of courses stays the same

#2534797

Christopher Amirian
Supporter

Languages: English (English )

Hi there,

In order for the shortcode to update with the proper count it needs to be within the [wpv-items-found] shortcode.

See if it fixes the issue for you.

Thanks.

#2535557

That solves the issue, thank you very much. For anyone finding this in future: I originally had the item count displayed in the 'Output editor'. I have simply moved it into the 'Loop editor' within the [wpv-items-found] area as suggested by support.