Support » Plugin: Role Scoper » RS interfers with get posts

  • Hi I am using this code for a page on my site. Essentially I want it to show posts from a category to contributors and higher. However for some reason contributors get a white page instead of the posts (or the else message). The category is visible to contributors, and if I turn RS off contributors can see the posts.

    if ( current_user_can('edit_posts') ) {
    while (have_posts()) : the_post();
    the_content(); ?>
    } else {
    echo 'Find out how you can become a contributor by <a href="">Clicking Here</a>';

  • The topic ‘RS interfers with get posts’ is closed to new replies.