Clear button returns posts from other categories

[ad_1]

Hello :
I have different type of posts on my WordPress website and i have grouped them in many categories. I have created a page and i am trying to use the filter functionality for a limited number of categories.
When i select grouped or default filter, if i search something from the search box and afterwards clear the results, the posts from the specific categories are retrieved correctly, but if i try to use the dropdown filter, or the custom_filter options, after i click the “X” button, it retrieves all of the posts from my site.
I really want to use the dropdown option because is the best option for me.
Do you have a solution for me?
Thanks.

 

This site will teach you how to build a WordPress website for beginners. We will cover everything from installing WordPress to adding pages, posts, and images to your site. You will learn how to customize your site with themes and plugins, as well as how to market your site online.

Buy WordPress Transfer