Title: Advanced filter bugs
Last modified: December 18, 2024

---

# Advanced filter bugs

 *  Resolved [pmhb2011](https://wordpress.org/support/users/pmhb2011/)
 * (@pmhb2011)
 * [1 year, 5 months ago](https://wordpress.org/support/topic/advanced-filter-bugs/)
 * My 2 problems are:
    - Advance filter is showing no posts no matter what the combination of category
      and tag selections if the multiple filter relation is set to “AND”. This includes
      All categories and All tags, any other combination, and if I include a clear
      all filters button and select that. No matter what, it displays “No Post Found”
       * It does show posts and work perfectly fine when set to “OR” but users will
         expect “AND” behaviour, so this is not great.
    - When I have a post query filtering out the posts that are shown to users, 
      it would be great if the user filter would also filter out tags/categories
      that do not apply to the filtered posts. That is, I don’t want drop down list
      to show every existing tag if none of the posts in the block have that tag.
 * I can’t link to the page as it is a staging site…

Viewing 1 replies (of 1 total)

 *  Plugin Support [Owadud](https://wordpress.org/support/users/owadud655/)
 * (@owadud655)
 * [1 year, 5 months ago](https://wordpress.org/support/topic/advanced-filter-bugs/#post-18205181)
 * Hi there,
   Thanks for reaching out. Here’s how advanced filters and their operation
   typically work in PostX and possible solutions to address your problems:**How
   the Operation Works:**
    - **Advanced Filtering**: Filters posts based on categories, tags, or custom
      taxonomies.
       * **Relation “AND”**: Posts must match **all** selected filters.
       * **Relation “OR”**: Posts match **any** of the selected filters.
    - Filters should dynamically update the displayed content based on the selected
      criteria.
 * **Problem 1: No Posts with “AND” Relation**
    - **Cause**: No posts meet all selected criteria simultaneously, or filter settings
      are misconfigured.
    - **Fix**:
       1. Ensure posts exist that match all selected categories and tags together.
       2. Confirm filter relation settings in the **Advanced Query Builder** are correct.
 * **Problem 2: Dropdown Showing Unrelated Tags/Categories**
    - **Solution**: You can choose specific tags or categories at Dropdown. I’ve
      attached screenshot for better understanding. 
      Here is the [screenshot](https://prnt.sc/G-4qWzuPFM88):
 * let me know if this helps.

Viewing 1 replies (of 1 total)

The topic ‘Advanced filter bugs’ is closed to new replies.

 * ![](https://ps.w.org/ultimate-post/assets/icon-256x256.gif?rev=2540610)
 * [Post Grid Gutenberg Blocks for News, Magazines, Blog Websites - PostX](https://wordpress.org/plugins/ultimate-post/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/ultimate-post/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/ultimate-post/)
 * [Active Topics](https://wordpress.org/support/plugin/ultimate-post/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/ultimate-post/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/ultimate-post/reviews/)

 * 1 reply
 * 2 participants
 * Last reply from: [Owadud](https://wordpress.org/support/users/owadud655/)
 * Last activity: [1 year, 5 months ago](https://wordpress.org/support/topic/advanced-filter-bugs/#post-18205181)
 * Status: resolved