Notifications
Clear all

wpForo 1.x.x [Solved] Remove sticky topics from Extended forum Recent topics section

7 Posts
2 Users
5 Reactions
2,131 Views
Posts: 21
Topic starter
(@power505)
Eminent Member
Joined: 6 years ago

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: 4689
 Sofy
Admin
(@sofy)
Support Team
Joined: 7 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/

Β 

4 Replies
(@power505)
Joined: 6 years ago

Eminent Member
Posts: 21

@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: 7 years ago

Support Team
Posts: 4689

@power505

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

(@power505)
Joined: 6 years ago

Eminent Member
Posts: 21
Sofy
 Sofy
Admin
(@sofy)
Joined: 7 years ago

Support Team
Posts: 4689

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

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

Thank you once again @sofy