3 years, 1 month ago
I’d like the newer messages to be displayed at the top of the page (i.e. order the loop by newest to oldest). Any idea how to do that?
Done it with:
$args = array(
'order' => 'DESC'
if ( bp_thread_has_messages( $args ) ) :
Maybe this will help?
@buddyboss thanks! I did try searching but found nothing. That thread would have saved me having to dig around bp-messages-template.php to find the answer.
Awesome! Happy that’s what you were looking for.
Follow BuddyPress on Twitter •
Contact Us •
Terms of Service