• Resolved silvercode

    (@silvercode)


    Is it possible to disable the behaviour whereby child pages seem to inherit the content permissions of parent pages?

    I want logged out users to be able to access a child page. But this doesn’t seem to be possible unless the parent page is also accessible to logged out users.

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author Caseproof

    (@caseproof)

    Hi @silvercode

    Unfortunately, child page share content permissions from their parent and we don’t have any workaround at the moment.

    Best

    Thread Starter silvercode

    (@silvercode)

    Don’t know why they replied saying it isn’t possible because it is. They wrote a function for it 8 years ago, which we found in their code and on their Github.

    Read it here: https://github.com/justintadlock/members/issues/48

    Or basically just add this to your functions.php file:

    // Disable the Members plugin from checking parent post permissions
    add_filter(‘members_check_parent_post_permission’, ‘__return_false’);

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Disable content permissions being applied to child pages?’ is closed to new replies.