Forums › Forums › Search & Filter Pro › Problem with Counter
Tagged: count
- This topic has 8 replies, 2 voices, and was last updated 5 years, 1 month ago by Trevor.
-
Anonymous(Private) August 26, 2019 at 11:21 am #219674
Good morning, i use S&F Pro.
Counter doesn’t work. I use custom post type and article’s categories.https://btgroup.it/catalogo_tessuti/tempotest-636-99/
All results are 0 but i’m sure that my custom post type are setting correctly.
How i fix it ?
Trevor(Private) October 21, 2019 at 5:49 pm #224261Something very odd is happening. The form is set to use Infinite Scroll, see here:
https://www.screencast.com/t/E6csXTaRoa
So the results should not show pagination. Then I had an idea.
In the plugins/search-filter-pro folder are two templates. Both are examples. To use them, you need to follow the customising guide here:
https://searchandfilter.com/documentation/search-results/using-a-shortcode/#customising-the-results
You will need to make a new folder,
search-filter
(NO-pro
) and place in that the version of the file you need. For infinite scroll, you must copy theresults-infinite-scroll.php
file to that new folder in your theme folder, then rename it toresults.php
Otherwise, the infinite scroll will not work.
Unless you want to use normal pagination?
Trevor(Private) October 22, 2019 at 4:12 pm #224378I see that you have set the form back to normal pagination. But pagination selector is wrong I think:
https://www.screencast.com/t/FcGyTavah
It should be, I think:
.wp-pagenavi a
or maybe the default avlue:
.pagination a
Can you try these (note the dot in front of the name)?
-
AuthorPosts