WordPress.org

Ready to get started?Download WordPress

Forums

WP_Query - Excluding Multiple Authors (2 posts)

  1. oneone11
    Member
    Posted 5 years ago #

    It is possible to exclude multiple categories from the WP_Query by incorporating a string like:
    cat=-1,-2,-3

    but when I try to exclude multiple authors it the query only excludes the first author.

    i.e
    author=-5,-8,-54
    only authorID 5 is excluded.

    Is it possible to exclude multiple authors?

  2. Andrej Mihajlov
    Member
    Posted 4 years ago #

    same problem, wp bug at wp-includes/query.php line 1987.

Topic Closed

This topic has been closed to new replies.

About this Topic