Limited Support
Our support team is currently on holiday from December 25, 2025 to January 7, 2026, and replies may be delayed during this period.
We appreciate your patience and understanding while our team is away. Thank you for being part of the wpForo community!
Merry Christmas and Happy Holidays! 🎄
Hi everyone!
I changed the order of my forum:
add_filter('wpforo_post_list_args', function ($args){
if(!empty($args)){
$args['orderby'] = 'created DESC, postid DESC';
}
return $args;
});
After that I have a trouble at the reply and the redirect. How can I redirect the user to the first page of the replied topic (to show your own reply)?
Currently, my redirect URL looks like : "https://domain.xx/forum/uzenofal/teszte-topic/paged/2/#post-38776/" --> Its could by fine without "/paged/2/" part, because our new replies are on the first page.
I have a code for redirect to the parent URL, but it doesnt works:
function redirect_to_first_page( $url, $post ) {
$topic_url = get_permalink( $post->post_parent );
return $topic_url . '?wpforo=page1';
}
add_filter( 'wpforo_reply_add_redirect_url', 'redirect_to_first_page', 10, 2 );
I hope you can help me in this matter!
Thanks a lot!
Any idea? 🙁