Viewing 1 replies (of 1 total)
  • Plugin Author Jason Coleman

    (@strangerstudios)

    We don’t currently have a better way to bulk change the membership restrictions for multiple pages. However, you can use the code explained here to lock down everything but the homepage and whitelisted pages: https://www.paidmembershipspro.com/2011/11/lock-down-everything-but-homepage-for-non-users/

    You could also use a SQL query to insert page restrictions into the DB. If your DB prefix is wp_, it would look something like this to do it for all pages:

    INSERT INTO wp_pmpro_memberships_pages (membership_id, page_id) SELECT 1, ID FROM wp_posts WHERE post_type = 'page' AND post_status = 'publish'

    Be sure to make backups before running any queries on your DB.

Viewing 1 replies (of 1 total)
  • The topic ‘New Mombership Level page authorisation.’ is closed to new replies.