Skip to:
Content
Pages
Categories
Search
Top
Bottom

About redirection to first page after replying to topic

  • @naoyoshi

    Participant

    Hello.

    I’d like to solve problem.
    Would anyone answer to my problem?

    Firstly, the conditions of WordPress, bbPress, design theme, plugin, and function.php are below.
    Wordpresss: Latest version
    bbPress: Latest version
    design theme: Original building
    plugin: introduced “bbPress – Sort topic replies”.
    The settings of this plugin are “Global:Descending”, “No Parent:Default”, and “Always show lead Topic:Yes”.
    function.php: Below code exists.

    add_filter('bbp_before_has_replies_parse_args', 'change_reply_order');
    function change_reply_order() {
    	$args['order'] = 'DESC';
    	return $args;
    }
    
    add_filter('bbp_show_lead_topic', 'custom_bbp_show_lead_topic' );
    function custom_bbp_show_lead_topic( $show_lead ) {
      $show_lead[] = 'true';
      return $show_lead;
    }

    Then, here is main topic.
    The function of bbPress itself is that after the user replies to the parent topic in topic page, next screen shows the last page(the page of max number) if the pagination shows.
    With the setting of “bbPress – Sort topic replies” plugin is under “Global:Descending”, the redirection which I expect is to go to the first page.
    I think that this solution isn’t https://bbpress.org/forums/topic/new-replies-redirect-to-last-page/

    I’ve searched and tried to solve the problem, however I can’t find the solution.
    I wonder my current settings or ways might be wrong.

    Thanks.

Viewing 2 replies - 1 through 2 (of 2 total)
  • @pinkishhue

    Participant

    Hi ns, have you tried asking the plugin author? They may be able to help you more easily.

    @naoyoshi

    Participant

    Hello, PinkishHue.

    Thank you for replying.
    I posted about this question at plugin page at once.

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