• Resolved pradg

    (@pradg)


    Hi,

    Currently we can only exclude the current post from the loop. Can a feature be added to exclude all posts from certain categories that we can select?

    Thanks.

Viewing 7 replies - 1 through 7 (of 7 total)
  • franckmee

    (@franckmee)

    Hello all,

    I second that request.

    It makes me mad that WP_Query actually has bot category__in and category__not__in parameters, but that the block query interface only shows the first one. Please do add a field for a category exclusion list! That would be a life savior.

    Thanks

    Plugin Author Ryan Welcher

    (@welcher)

    Thanks for sharing the idea and for using AQL. I’m currently looking into adding more taxonomy controls and this would be a good addition.

    Plugin Author Ryan Welcher

    (@welcher)

    I just released 3.2.0 which includes excluding categories. Please let me know if this does what you’re looking for.

    Plugin Author Ryan Welcher

    (@welcher)

    I am going to mark this as resolved as there are now controls in AQL for excluding post by taxonomy. Please let me know if there are any issues moving forward!

    >there are now controls in AQL for excluding post by taxonomy.

    taxonomies != categories

    There is an option to exclude taxonomies but not CATEGORIES in the current version. I have checked the PR etc. https://github.com/ryanwelcher/advanced-query-loop/issues/83 is also about categories and not taxonomies + wrongly closed.

    Plugin Author Ryan Welcher

    (@welcher)

    Category is a type of taxonomy. Are you wanting to exclude by a term?

    Sorry to post under a closed ticket, but I looked under all tickets and related docs, and I cant figure this one out.
    I have 4.0.1 installed. But I do not see a way to exclude all posts of a given category, as described above.
    I see Filters allow CATEGORIES and I can include the one I wish to show. But not an inverse.

    Is the idea to add all categories in there except the ones we do not want to show?
    That would be quite an effort as we have about two dozen categories at the moment. But I do not see alternatives yet.

    Is there any related documentation I could peek at?
    Thank you in advance!!

    ps – this plugin should be part of the core WordPress installation. What a great implementation!

Viewing 7 replies - 1 through 7 (of 7 total)
  • You must be logged in to reply to this topic.