Skip to:
Content
Pages
Categories
Search
Top
Bottom

bbp-forum-index issues


  • ten9inc
    Participant

    @ten9inc

    I am new to bbPress and am troubleshooting some issues. I created a page and am using the [bbp-forum-index] shortcode, but only around 50 of 80 forums are listed and there is no pagination to list the rest on successive pages. What am I missing and/or doing wrong?

Viewing 2 replies - 1 through 2 (of 2 total)

  • Robkk
    Moderator

    @robkk

    i found this function doing a search , i havent tested though.

    plop the code into your child themes functions.php file or your functionality plugin
    and change 100 to whatever you like

    function bbp_increase-forum-per-page( $args = array() ) {
    $args['posts_per_page'] = get_option( ‘_bbp_forums_per_page’, 100 );
    return $args;
    }
    add_filter( ‘bbp_before_has_forums_parse_args’, ‘bbp_increase-forum-per-page’ );

    code is from this topic

    Hitting 50 forum limit? What can I do?


    lhexy
    Participant

    @lhexy

    after add the code,
    function bbp_increase-forum-per-page( $args = array() ) {
    $args[‘posts_per_page’] = get_option( ‘_bbp_forums_per_page’, 100 );
    return $args;
    }
    add_filter( ‘bbp_before_has_forums_parse_args’, ‘bbp_increase-forum-per-page’ );

    I got an error

    /clickandbuilds/…/wp-content/themes/…./functions.php on line 207

    As a result, I cannot open any page. Please help.

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