Have a filter to sort posts in wrap section
I have created a wrap loop section which displays all posts from a specific main category on a page.
Is it somehow possible to have a filter above the section so you can filter the posts (based on the additional set sub category of each post)?
Comments
Hi,
It would work only on archive pages, such as category pages with the filter form element, but it will not work on a regular pages.
Best regards
Hi there,
When I set the particular page through the WP settings reading -> posts page, I get the posts of wordpress at the bottom of the page and I don't want those, because I already show the posts i want with the wrap loop.
Filtering also works with the WP part of postst and not with the wrap loop section.
I have sent the website details thorugh codecanyon DM, maybe you can take a look and see what is going wrong?
Additionally I also need to exclude categories from the filter, is that possible?
You can create a custom template to adjust the view of the post page, and filters will work on Query Loop as well.
https://support.muffingroup.com/video-tutorials/how-to-use-templates-a-step-by-step-guide/
Regarding excluding the category, there is no option for that. Please let us know if you would like to see this feature in future updates.
Best regards
Ok, thanks for explaining, will ty another way then.