show more pages on membership access levels

When using Memebership I am trying to set the positive/negative rules but it only shows 50 pages. I need to be able to see /access more pages so I can add them to the positive list.

If I go to Membership > Access Levels > Edit A Level > Drag the list of pages to positive rules

At the bottom it says "only the 50 most recent pages are shown". I have more than 50 pages so how do I fix this?

Or is there another way to set access to certain pages.

Thanks.

  • Ivan

    Hey James,

    Hope you are having great weekend so far!

    That is due to WordPress limitations to list just 50 pages on a signle page.
    It is because precautions of memory errors and resource usage on the server.

    Currently I am aware of two ways to fix this.

    1st. Add and url group to that level and then add all your new pages. I know it is not very convenient, but it should work.

    2nd. You can increase the number of pages by editing the wp-config.php file and adding this line:
    define( 'MEMBERSHIP_PAGE_COUNT', 50);
    Change the number '50' with the desired pages you want to see.
    Keep in mind the higher the number, the longer the process time and the more likely your PHP will either timeout or present memory errors.

    Hope this helps,
    Ivan

Thank NAME, for their help.

Let NAME know exactly why they deserved these points.

Gift a custom amount of points.