WordPress.org

Support

Support » Plugins and Hacks » [Resolved] [Plugin: Role Scoper] Can't filter out posts from a certain category

[Resolved] [Plugin: Role Scoper] Can't filter out posts from a certain category

  • First off, thanks for the great plugin!

    I’ve noticed an issue when using the plugin though. When I try to filter a WP_Query with a “cat=-25” parameter, nothing seems to happen as long as Role Scoper is enabled but everything works fine (i.e. posts from that category are hidden) once I disable the plugin. Any thoughts?

Viewing 1 replies (of 1 total)
  • Plugin Author Kevin Behrens

    @kevinb

    It should work if you use the API function call instead of directly instantiating the class:

    $results = query_posts( 'cat=-25' );

Viewing 1 replies (of 1 total)
  • The topic ‘[Resolved] [Plugin: Role Scoper] Can't filter out posts from a certain category’ is closed to new replies.