Forums › Forums › Search & Filter Pro › Filter not showing result even though their are posts in the category
Tagged: Filter Not Working
- This topic has 23 replies, 2 voices, and was last updated 5 years, 1 month ago by Trevor.
-
Anonymous(Private) October 2, 2019 at 7:43 pm #222780
I have added a custom filter but results are not showing on some of the categories when i run the filter though there are items in there. Also, when i pick one more filter over any current filter showing results, everything disappears.
https://creatingfutureus.org/publications/
Try events: nothing shows yet there are 2 articles in there
————————
Try article: results display
try reports: results display
now combine both: nothing displays.Trevor(Private) October 4, 2019 at 5:03 pm #222910I am looking at this ticket now. Looking at the form, you have Pods and Pods Fields selected here:
https://www.screencast.com/t/uiKHXG37vxjl
This is not necessary, so I will remove them.
You also have these settings ON, and they should not be. The first 2 are only to be used if you have the Relevanssi plugin installed and activated. I will also disable these settings:
https://www.screencast.com/t/CmNWiUqIn7
I will now go and check the page setup.
Trevor(Private) October 4, 2019 at 5:29 pm #222912In the page. Can you remove the elements marked 1 and 2 (the code in 2 is wrong in any event)?
Replace the shortcode element at 1 with a Text element. The Text element has Visual and a Text view tabs, so please use the plain Text tab for this content:
[searchandfilter id="1621"] [searchandfilter id="1621" action="filter_next_query"]
FYI. For a normal Post Grid, it would be this (but I do not think you need this, as you have only one post per row, so the above should be OK):
[searchandfilter id="1621"] [searchandfilter id="1621" action="filter_next_query"] <script>(function ( $ ) { "use strict"; $(document).on("sf:ajaxfinish", ".searchandfilter", function(){ elementorFrontend.hooks.doAction('frontend/element_ready/posts.classic', jQuery('.elementor-widget-posts')); }); }(jQuery));</script>
Any other script that you may have added must be removed.
In the settings of the Posts element:
https://www.screencast.com/t/8XqpDawv1
I am unsure if the Include/Exclude Category part should be handled by our plugin and not used in Elementor.
-
AuthorPosts