AI Search
Classic Search
 Search Phrase:
 Search Type:
Advanced search options
 Search in Forums:
 Search in date period:

 Sort Search Results by:

AI Assistant
Notifications
Clear all

A topic question

4 Posts
2 Users
0 Reactions
1,019 Views
Posts: 80
Topic starter
Translate
English
Spanish
French
German
Italian
Portuguese
Russian
Chinese
Japanese
Korean
Arabic
Hindi
Dutch
Polish
Turkish
Vietnamese
Thai
Swedish
Danish
Finnish
Norwegian
Czech
Hungarian
Romanian
Greek
Hebrew
Indonesian
Malay
Ukrainian
Bulgarian
Croatian
Slovak
Slovenian
Serbian
Lithuanian
Latvian
Estonian
(@hbk747)
Estimable Member
Joined: 2 years ago
[#56164]

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
Sofy
Posts: 5774
 Sofy
Admin
Translate
English
Spanish
French
German
Italian
Portuguese
Russian
Chinese
Japanese
Korean
Arabic
Hindi
Dutch
Polish
Turkish
Vietnamese
Thai
Swedish
Danish
Finnish
Norwegian
Czech
Hungarian
Romanian
Greek
Hebrew
Indonesian
Malay
Ukrainian
Bulgarian
Croatian
Slovak
Slovenian
Serbian
Lithuanian
Latvian
Estonian
(@sofy)
Support Team
Joined: 8 years ago

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)


Reply
Posts: 80
Topic starter
Translate
English
Spanish
French
German
Italian
Portuguese
Russian
Chinese
Japanese
Korean
Arabic
Hindi
Dutch
Polish
Turkish
Vietnamese
Thai
Swedish
Danish
Finnish
Norwegian
Czech
Hungarian
Romanian
Greek
Hebrew
Indonesian
Malay
Ukrainian
Bulgarian
Croatian
Slovak
Slovenian
Serbian
Lithuanian
Latvian
Estonian
(@hbk747)
Estimable Member
Joined: 2 years ago

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!


Reply
1 Reply
Sofy
 Sofy
Admin
(@sofy)
Joined: 8 years ago

Support Team
Posts: 5774
Translate
English
Spanish
French
German
Italian
Portuguese
Russian
Chinese
Japanese
Korean
Arabic
Hindi
Dutch
Polish
Turkish
Vietnamese
Thai
Swedish
Danish
Finnish
Norwegian
Czech
Hungarian
Romanian
Greek
Hebrew
Indonesian
Malay
Ukrainian
Bulgarian
Croatian
Slovak
Slovenian
Serbian
Lithuanian
Latvian
Estonian

@hbk747

Firstly, please ensure that the caches are properly cleared. Next, verify that you are using the latest version of the wpForo plugin.

If you have completed the above steps and are still see the issue, please provide us with the steps you have taken and include examples for further support.


Reply
Share: