Mar 17, 2024 7:32 pm
Hello,
Â
When a topic has more than one page, and someone clicks on it, wpforo automatically takes them to the last page and does not start with page 1. Which option can change this so that the user stays on page 1?
Â
Warm regards,
3 Replies
Mar 18, 2024 1:28 pm
Hi,
You can use the hook-code below:Â
add_filter( 'wpforo_topic_title_structure', function( string $structure ): string{ return str_replace('{au}', '{at}', $structure); } );
This instruction should be helpful for you:Â How to Easily Add Custom Code in WordPress (without Breaking Your Site)
Mar 18, 2024 4:38 pm
Hello,Â
I tried adding this my child theme's functions.php but the topics became unopenable after. I had previously added code for wpforo as well in functions.php and that worked fine however this is not.Â
Â
Please help!