Support » Fixing WordPress » WP_QUERY category_name

  • Resolved fabrix

    (@fabrix)


    Hi all,
    this is my question: I wanna exclude a category name from a query result:
    cat=-3 WORKS
    category_name=-aname DOESN’T WORK

    I need to use a name instead of a number, there is a way to do it?

    Tnx in advance

Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘WP_QUERY category_name’ is closed to new replies.