AI Assistant
Notifications
Clear all

[Solved] Remove sticky topics from Extended forum Recent topics section

7 Posts
2 Users
5 Reactions
3,049 Views
Posts: 21
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
(@power505)
Eminent Member
Joined: 7 years ago
[#9891]

Right now, if I choose to display recent topics on Extended forums, it will display sticky threads on top.

Let's say I have three sticky threads in the subforum, it will display all of them in the recent section on top of others, no matter how far ago was the last post in them.

Is there a way to display a REAL list of recent topics in recent section?


6 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 @power505,

If you're using the wpForo 1.6.2 version, please follow the steps below:

1. Copy wp-content/plugins/wpforo/wpf-themes/classic/layouts/1/forum.php fileΒ 

2. Paste it in your active theme's wpforo folder, as explained in this doc: https://wpforo.com/docs/root/forum-themes/theme-customization/

3. In copied file go to line 30

4. Remove just the type, part of the code from that line.

5. Finally, it should look as shown in the screenshot below.Β 

I may suggest another solution you can use. Just change the value for the "Extended Layout - Number of Recent topics" option and set it e.g. 7.Β 

More info in this doc: https://wpforo.com/docs/root/categories-and-forums/forum-layouts/extended-layout/

Β 

 customization

4 Replies
(@power505)
Joined: 7 years ago

Eminent Member
Posts: 21
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

Sorry for the late reply. Unfortunately, it's the same for me, even after applying yor fix.

I even tried to edit the original file, just to test it, but it's the same even then.


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

Support Team
Posts: 5774
Sofy
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

@power505

Could you please leave a screenshot that shows the final look of the code in your case?Β 


(@power505)
Joined: 7 years ago

Eminent Member
Posts: 21
Sofy
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

Hi Sofy. Here it is.

 screenshot forum.php

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

Support Team
Posts: 5774
Sofy
Sofy
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

@power505,

Please navigate to Dashboard > Forums > Dashboard admin page, click on "Delete all caches" button. If you've installed some cache plugins please delete those plugins caches as well. Then press CTRL+F5 (twice) on the frontend.Β 

Β 


Posts: 21
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
(@power505)
Eminent Member
Joined: 7 years ago

As always, I have forgotten this step πŸ™‚

Thank you once again @sofy


Share: