Skip to:
Content
Pages
Categories
Search
Top
Bottom

Not set number of answers on bbpress forum

  • @wordik

    Participant

    There is a bbpress forum. Through the admin panel, I adjust the number of topics and responses to the page on the forum.

    Now the admin panel is set to display 5 topics and 5 answers on the page. the number of those regulated, the NUMBER of REPLIES TO the TOPIC NOT REGULATED. IN TOPIC ARE DISPLAYED IMMEDIATELY ALL ANSWERS AND PAGE IS OBTAINED MUCH.

    As a result, to reach the last answer you have to scroll through the page with the answers at the bottom.

    Can who rebuffed with this problem?

Viewing 12 replies - 1 through 12 (of 12 total)
  • @wordik

    Participant

    No one knows why is not regulated by the number of messages in the topic?

    @robin-w

    Moderator

    you want sub 10 hour response on a sunday ?????

    @wordik

    Participant

    Sorry, I’m not rushing anyone. Wait for help.

    @robin-w

    Moderator

    I would suggest you reverse the order for answers, as pagination will not solve it.

    This may work

    bbPress – Sort topic replies

    @wordik

    Participant

    You misunderstand me, I don’t need to sort the answers. You just need to break the page, as it is inherent in the script. But for some reason it does not happen. Please help why it is not regulated by the number of responses on the page on the subject.

    @wordik

    Participant

    I downloaded and installed bbPress-Sort topic replies, it changes the sort. Page-by navigation did not appear, in topics all messages are displayed at once.

    @robin-w

    Moderator

    Put this in your child theme’s function file – or use

    Code Snippets

    add_filter( 'bbp_get_replies_per_page', 'rew_replies');
    
    function rew_replies () {
    $replies = 5 ;
    return $replies ;
    }

    @wordik

    Participant

    Posted this code in file functions and obsolyutno nothing to acquire not has changed: (as was 80 messages on page tube top so and remained, in all themes. Although the settings specified no more than 10.

    @robin-w

    Moderator

    ok, the code does not allow for pagnination if you have nested replies allowed in the forum settings.

    That is just the way the code is written, I am not an author of the code.

    @wordik

    Participant

    Not quite understood Your answer, You do not know why page does not work?

    @wordik

    Participant

    Topic can be closed, it was function is to Allow the tree (nested) replies with the number of levels. Disconnected its and messages have become regulated, thank you all.

    @robin-w

    Moderator

    great – glad you are fixed

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