Viewing 3 replies - 1 through 3 (of 3 total)
  • Thread Starter Dani

    (@danicasati)

    It works if I use only two categories, but not if I use three categories with AND relationship between two of them.

    I’m usng 0.53 version of the plugin on WP 4.1.

    Plugin Author Fernando Briano

    (@fernandobt)

    From what I understand, that code will list all posts that are both in category 88 and 212, right? So you would want these ones, but not the posts which are in 88, 212 AND 255, is this correct?

    There’s a conflict there, since the first condition is right, it ignores the exclusion then. Trying to wrap my mind around this, could you post some more details so I can see the use case please?

    Thanks

    Thread Starter Dani

    (@danicasati)

    Hi.
    Yes, I need to filter posts that are in two categories, but exclude from list if post is in a third.

    For example, list would be generate with posts that are in 88 AND 212 category, but if post is in both category AND in 255, so post would be hide.

    Is this possible?
    From documentation, I figure to use shortcode like this:
    [catlist id=88+212-255]

    but it doesn’t work for me.

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘EXCLUDE doesn't work with AND relationship’ is closed to new replies.