Role Scoper
[resolved] Hide From Users | Show To Public (4 posts)

  1. UaMV
    Posted 3 years ago #

    Does Role Scoper have the capability of restricting specific content from all logged users, while allowing it to the public? If so, how does one go about this?



  2. Kevin Behrens
    Plugin Author

    Posted 3 years ago #

    First, that content will need to be private or Reader-restricted.

    Second, add this to wp-config.php, above the "stop editing" line:
    define( 'SCOPER_ANON_METAGROUP', true );

    Third, assign desired Reader roles to the group [WP Anon]

  3. UaMV
    Posted 3 years ago #

    Added to wp-config.php and Role Scoper now displays the group [Anonymous] rather than [WP Anon]. Tried Reader-restricting the page to the [Anonymous] Role, but it is only allowing admin access. i'm currently on WP 3.4.1.

    i have redesigned to keep the content out of the way of users, but would like to figure this out for any future implementation. Any additional assistance to offer? Thanks!

  4. Kevin Behrens
    Plugin Author

    Posted 3 years ago #

    The updated development version (1.3.58-dev) restores Anonymous role application. However, WP has recently added another barrier against displaying non-public content to anonymous readers. I don't plan to circumvent that, so you will need to use Reader restrictions instead of Private visibility.

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • Role Scoper
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic