Post limit with Membership Plugin

I just found out that when setting membership levels, the plugin only lists the 25 most recent posts. that's just not practical for me. i can't do it by categories since each category has posts from different membership levels. Is there another solution?

  • DavidM
    • DEV MAN’s Mascot

    Hi rwilki,

    Yes, there's a relatively simple solution for that!

    In the Membership plugin folder you'll see the following file:

    In that file you'll see the following two lines, one for posts and one for pages:

    if(!defined('MEMBERSHIP_POST_COUNT')) define( 'MEMBERSHIP_POST_COUNT', 25);
    if(!defined('MEMBERSHIP_PAGE_COUNT')) define( 'MEMBERSHIP_PAGE_COUNT', 25);

    You can change the value '25', to whatever limit you'd like.


  • rwilki
    • WPMU DEV Initiate

    Thank you very much for your reply. I will make the change. But, I'm having so much trouble with this plugin, I've wasted a lot of time and I'm getting nowhere. I'll post the issues in a new post... But thank you for your help.

Thank NAME, for their help.

Let NAME know exactly why they deserved these points.

Gift a custom amount of points.