Skip to:
Content
Pages
Categories
Search
Top
Bottom

Increase pagination doesn’t work


  • dayan89
    Participant

    @dayan89

    Hi

    I’ve tried following function (in functions.php of my theme) to increase pagination, but it doesn’t work:

    function bbp_increase_pagination($args) {
        $args['end_size'] = 5;
        $args['mid_size'] = 5;
        return $args;
    }
    add_filter( 'bbp_topic_pagination', 'bbp_increase_pagination' );

    I still have same pagintation:

    What’s the problem?

Viewing 4 replies - 1 through 4 (of 4 total)
  • Just to be sure… are you displaying topics ?
    Because there is also ‘bbp_replies_pagination’ and ‘bbp_search_results_pagination’

    Pascal.


    Robkk
    Moderator

    @robkk

    @dayan89

    What you outlined in the photo I think is the reply pagination??

    Might check on it, and make sure later though.


    dayan89
    Participant

    @dayan89

    Oh, thanks guys! My mistake.

    Yes, it’s a replies pagination. I just changed bbp_topic_pagination to bbp_replies_pagination and it worked out!

    Thank you!


    Robkk
    Moderator

    @robkk

    Glad your issue is resolved.

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