Skip to:
Content
Pages
Categories
Search
Top
Bottom

Order of Topics

  • @ritajoc

    Participant

    Is there a way to have the oldest topic show first in the forum and the newest topic last? Thanks.

Viewing 6 replies - 1 through 6 (of 6 total)
  • @robin-w

    Moderator

    Not that I know

    @netweb

    Keymaster

    This should work…

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

    @batmanfan

    Participant

    @Stephen, newbie here. How and Where to add the above code please. Thank you so much.

    @espellcaste

    Participant

    @batmanfan In your functions.php inside your theme should work fine. =)

    @ritajoc

    Participant

    Thanks! I didn’t realize my question was answered. So, are you sure adding these codes won’t break the site? Thanks, again.

    @espellcaste

    Participant

    @ritajoc My best advice would use it in a dev site first. Just to make sure and then, move it to the live one.

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