• Resolved djh9999

    (@djh9999)


    The category_not_in seems to work for one category, but when I do more than one, it only excludes the first one. So, the trailing params would look like this: /?category_not_in=-23,42

    NOTE: When I enter this on the url, it is changed to: /?category_not_in=-23%2C42

Viewing 11 replies - 1 through 11 (of 11 total)
  • Plugin Author Matt Pramschufer

    (@mattpramschufer)

    @djh9999 sorry for the delay in seeing this. I though that being the developer of the plugin I wouldn’t have to manually subscribe to receive updates/notifications from the forum, but I do!

    Nonetheless, I have not been able to recreate this on my end. Would you be able to share your site/feed url with me and I can investigate for you?

    Plugin Author Matt Pramschufer

    (@mattpramschufer)

    Oh, I just looked again at this. And you can not use a negative with the

    ?category_not_in

    category_not_in needs to be positive integers only. If you want to do what you are saying and showing posts from category 42 but not category 23 then you need to use the ?cat=-23,42 parameter instead.

    I just looked and that was definitely a TYPO on my part in the how to section and plugin description. I will get that fixed with my next release!

    Thread Starter djh9999

    (@djh9999)

    I replied to you, using a reply to the email. Let me know if that worked. Otherwise I would probably want to just email you directly and not post the links on a public forum. Just let me know.

    Thread Starter djh9999

    (@djh9999)

    So, I just want to exclude both categories. So, it would be this? /?category_not_in=23,42. Is that correct?

    Plugin Author Matt Pramschufer

    (@mattpramschufer)

    Yes that is correct!

    Thread Starter djh9999

    (@djh9999)

    So, it still doesn’t work. I assume that’s because you still have something to fix on your side? I know you said you would include your code change in the next release.

    Plugin Author Matt Pramschufer

    (@mattpramschufer)

    Would you be able to provide a feed url I can look at?

    Also instead of using cateorgy_not_in try using ?cat=-23,-42

    as that essentially does the exact same thing just different query. See if that works.

    Thread Starter djh9999

    (@djh9999)

    Sure, but I would rather not post that in a public forum. Can you email me directly?

    • This reply was modified 2 years, 1 month ago by djh9999.
    Thread Starter djh9999

    (@djh9999)

    I emailed you.

    Plugin Author Matt Pramschufer

    (@mattpramschufer)

    This has been corrected in version 3.0.1! Thanks for pointing that out to me.

    Thread Starter djh9999

    (@djh9999)

    That fixed my issue. Thanks, Matt.

    David

Viewing 11 replies - 1 through 11 (of 11 total)
  • The topic ‘category_not_in works for 1 category, but not for more than 1’ is closed to new replies.