• Resolved ketandebroy

    (@ketandebroy)


    Hi team, I want to know…is there any limitations in the no. of post to be displayed in the profile of an user. I mean… e.g. if the users post 500 post, will all the post link be visible in the user’s profile?

    The page I need help with: [log in to see the link]

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Support mansurahamed

    (@mansurahamed)

    Hi @ketandebroy,

    No, default is 10 posts. You can change that to anything by adding following code in your child theme’s functions.php ( change 500 to any number )

    
    add_filter( 'um_profile_query_make_posts', 'my_profile_query_make_posts', 10, 1 );
    
    function my_profile_query_make_posts( $query_posts ) {
    $query_posts['posts_per_page'] = 500; //Change this
    return $query_posts;
    }

    Thanks.

    • This reply was modified 3 years, 5 months ago by mansurahamed.
    Plugin Contributor Champ Camba

    (@champsupertramp)

    Hi @ketandebroy,

    Please feel free to re-open this thread by changing the Topic Status to ‘Not Resolved’ if any other questions come up and we’d be happy to help. ??

    Regards,

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘About profile posts display’ is closed to new replies.