Forum breadcrumbs - You are here:Asgaros Support ForumTips & TricksTopics order
Please or Register to create posts and topics.

Topics order

I added your code in the functions.php file of my theme to show newest posts first when displaying a topic.

But, when displaying the topics list in a forum, how to sort themĀ  in order to show first the topics with the newest posts ?


I found the trouble. Some days ago, I've added your filter :

// Show newest topics first in forum
function custom_asgarosforum_filter_get_threads_order($order) {
$order = ' DESC';
return $order;
add_filter('asgarosforum_filter_get_threads_order', 'custom_asgarosforum_filter_get_threads_order');

After removing it, the topics are ordered with the newest posts first.

Perhaps, coul'd you delete this post. Thanks.