Notifications
Clear all

[Solved] Sticky Topics Order - Updated Function?

3 Posts
2 Users
1 Reactions
700 Views
Posts: 19
Topic starter
(@fastertomaster)
Eminent Member
Joined: 5 years ago

Hey team,

This solution no longer works on the forum view: https://wpforo.com/community/general-discussions/sticky-posts-need-them-in-a-certain-order-regardless-of-current-posts/

Is there a quick update I can make to the script to fix it?

Thanks, A

2 Replies
Robert
Posts: 10589
Admin
(@robert)
Support Team
Joined: 9 years ago

Hi @fastertomaster,

it works fine. Right now I'm testing on our local website. All is correct and all works correct.

You should navigate to Dashboard > Forums > Dashboard and click on [Delete all caches] button. Also, please delete website cache. I'm sure you're adding wrong IDs or you've not deleted the wpForo cache.

Please show your code and show forum and topic IDs. And leave your forum URL. Don't forget delete wpForo cache.

1 Reply
Robert
Admin
(@robert)
Joined: 9 years ago

Support Team
Posts: 10589

BTW, this code is only designed for the Threaded Layout Home page. This is the only screen it should be applied (Threaded Layout Home page):

 

Again, after each change you should delete wpForo cache to see the result.