Skip to:
Content
Pages
Categories
Search
Top
Bottom

When submit reply user taken to wrong end of thread


  • gipsypainter
    Participant

    @gitanoblue

    Hi

    I am setting up a new BBPRess forum and I have changed the default reply order to descending so new replies begin at the top. So far so good.

    However, when a new reply is submitted the user is taken to the other end of the thread rather than to the newest end. Is there a tweak I need to the reverse order code?

    this is what I have in my functions:

    function custom_bbp_has_replies() {
      $args['order'] = 'DESC'; // 'ASC' (Ascending, Default), 'DESC' (Descending)
      
      return $args;
    }
     
    add_filter('bbp_before_has_replies_parse_args', 'custom_bbp_has_replies' );

    thanks for any help.

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

  • gipsypainter
    Participant

    @gitanoblue

    PS. the reply is added int he correct place…so that is fine but the user is taken to the opposite end of the thread and has to click back to the front of the conversation. Thanks again.


    coskel22
    Participant

    @coskel22

    I started having the same problem when my thread got to over 100 pages

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