Reply To: Sort topics in a Forum
Put this in your child theme’s function file –
ie wp-content/themes/%your-theme-name%/functions.php
where %your-theme-name% is the name of your theme
or use
add_filter('bbp_has_replies_query', 'rew_modify_replies_query');
function rew_modify_replies_query($bbp_r) {
$bbp_r['order'] = 'DESC';
return $bbp_r;
}
add_filter('bbp_show_lead_topic', 'rew_show_lead_topic');
function rew_show_lead_topic () {
return true ;
}