Skip to:
Content
Pages
Categories
Search
Top
Bottom

Reply To: Wrong bbp_get_reply_url() when paging with reverse order

@casiepa

Moderator

Hi,
with just this small portion of the code, it’s difficult to see the whole loop/picture of course. I’m not sure of what you try to obtain, but just one thing to start from your first one (custom_bbp_reorder_replies), to inverse the order I used:

if ( bbp_is_single_topic() && !bbp_is_single_user() ) { 
   $args['orderby'] .= 'post_modified';
   $args['order'] .= 'DESC';
}

Pascal.

Skip to toolbar