Hello,
I have the below in a view but the number doesn't change when the search filters are changed:
Results: [wpv-items-count] products of [wpv-found-count]
Thanks!
Hi there,
Please consider that the shortcode only shows whatever is in the main pagination and not the whole result if the results of the website have pagination.
Description from https://toolset.com/documentation/programmer-reference/views/views-shortcodes/#vf-153270 :
Outputs the number of posts, users or taxonomies that will be displayed on the page. When using pagination, this value will be limited by the page size and the number of remaining results.
(Compare with [wpv-found-count] – this will output the total number of post returned by the Views query)
That might be the problem that you do not see any change on the number itself. Also please make sure that you add the shortcode in the correct place inside the view itself, try to change the place of it outside the container or inside it and see if it has any differecne/
Thanks.
Hi Christopher,
Thank you for the instructions.
Yes, actually I have both shortcodes on the page:
Results: [wpv-items-count] products of [wpv-found-count]
The code was in the wrong place, it was in the "View search" I've moved it to the "View output"
Working perfectly now 🙂