• Hi,
    why ignore my second WHERE function?
    With this function I get all news but with all users.
    Why grab and users where id is 1?

    $news = new WP_Query('post_type=news&post_author!=1&orderby=ID&order=ASC');

    Thanks ??

Viewing 4 replies - 1 through 4 (of 4 total)
Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘new WP_Query and WHERE’ is closed to new replies.