Skip to:
Content
Pages
Categories
Search
Top
Bottom

[Resolved] Change number of Viewing item (Groups)

  • @ulrichstettler

    Participant

    Is it possible to change the number of Viewing item from actually 20 to 100? If yes, how could I do that? Thanks!

Viewing 5 replies - 1 through 5 (of 5 total)
  • @ulrichstettler

    Participant

    This are in Groups under Documents

    @venutius

    Moderator

    This is a general wordpress feature, to change the number viewed in the list, click on Screen Options at the top of the page, from there you can set the number displayed

    @dcavins

    Keymaster

    Hi Ulrich-

    It sounds like you’re talking about BuddyPress Docs, not BP. If so, there’s a filter, and you could use it something like this:

    
    add_filter( 'bp_after_bp_docs_has_docs_parse_args', function ( $args ) {
        $args['posts_per_page'] = 100;
        return $args;
    } );
    

    @ulrichstettler

    Participant

    Thanks for the information, I posted the question in the BuddyPress forum, so it can be marked as solved.

    @ulrichstettler

    Participant

    I have already add the filter to the function.php from the theme, but I didn’t change anything

Viewing 5 replies - 1 through 5 (of 5 total)
  • You must be logged in to reply to this topic.
Skip to toolbar