bbPress

Simple, Fast, Elegant

bbPress support forums » Requests and Feedback

Posts to appear in Descending order

(3 posts)

Tags:

  1. zapata
    Member

    Is there a way to make posts in a topic appear in a descending order... the latest posts come first...

    Posted 1 year ago #
  2. You mean ascending? ^^

    It think currently this can only be done by hardcoding. Look at functions.php around line 44-66 and you can change

    $bb_last_countable_query = "SELECT * FROM $bbdb->topics $where ORDER BY topic_time DESC LIMIT $limit";
    to
    $bb_last_countable_query = "SELECT * FROM $bbdb->topics $where ORDER BY topic_time ASC LIMIT $limit";

    But then every post-listing will be ordered as ascending.

    This is the only way I can figure out at the moment...

    Posted 1 year ago #
  3. zapata
    Member

    Thanks Thomaskla... will try it out!!!

    Posted 1 year ago #

RSS feed for this topic

Reply

You must log in to post.

Code is Poetry.