Forums › Forums › Search & Filter Pro › Get number of results in a form
- This topic has 8 replies, 2 voices, and was last updated 5 years ago by Trevor.
-
Anonymous(Private) October 21, 2019 at 11:57 am #224226
Hi Trevor,
Sorry about that, I have renewed the license just now. I only want to show the number of results displayed.
I would like to display this on top of the page, this is why I think a function is what I need, because then I can place it wherever I want on the page.
Anonymous(Private) October 21, 2019 at 1:09 pm #224230I am using the two shortcodes like this on each page. Each page has a different ID and I have 10 different pages.
[searchandfilter id=”11443″]
[searchandfilter id=”11443″ show=”results”]Inside the settings, loading results with AJAX (all checked). Also I only return results which match specific post meta data.
for example:
br_category = “Style”I suppose it might just be easier for the function to go through the custom post type “Brands” and count all the posts which have the custom field: br_category = “Style” ?
-
AuthorPosts