Skip to:
Content
Pages
Categories
Search
Top
Bottom

Reply To: Sort topics in a Forum

@robin-w

Moderator

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

Code Snippets

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 ;
}
Skip to toolbar