Skip Navigation

[Resolved] Split: How to show matching post numbers against filter controls?

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

Problem:
A View has filter controls. How to show the matching number of posts against the controls?

Solution:
When inserting the filter there is an option for format, where you can add the %%COUNT%% placeholder. See screenshot in reply below.

This support ticket is created 6 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.

Sun Mon Tue Wed Thu Fri Sat
- 7:00 – 14:00 7:00 – 14:00 7:00 – 14:00 7:00 – 14:00 7:00 – 14:00 -
- 15:00 – 16:00 15:00 – 16:00 15:00 – 16:00 15:00 – 16:00 15:00 – 16:00 -

Supporter timezone: Europe/London (GMT+00:00)

Author
Posts
#1095023

problem 4: I would like to be the quantity of the terms behind my search terms

LINK:hidden link

#1095027

Nigel
Supporter

Languages: English (English ) Spanish (Español )

Timezone: Europe/London (GMT+00:00)

Screen Shot 2018-08-29 at 15.36.33.png

When you insert a filter in a View one of the display options is for format, where you can use the placeholder %%COUNT%% to display the number of matching posts (see screenshot).

That will add a format argument to the filter control shortcode: https://toolset.com/documentation/user-guides/views-shortcodes/#wpv-control-post-taxonomy

#1096325

Thanks