Notifications
Clear all

Script What determines "Hot" on the icons?

5 Posts
4 Users
3 Likes
1,926 Views
Posts: 26
Topic starter
(@ruralinfo)
Eminent Member
Joined: 6 years ago

Just wondering what makes the "Hot" icon show up?  Also if I am not using the Q and A format, is there a way to not show the solved icon at the bottom?  Thanks..  Looking forward to the stable release and the addons..  This forum system blows all others away..  I have tried them all.  

4 Replies
Posts: 883
Moderator
(@martin)
Support Team
Joined: 7 years ago

Thank you ruralinfo,

Just wondering what makes the "Hot" icon show up? 

Topic becomes "Hot" after 20 replies. 

Also if I am not using the Q and A format, is there a way to not show the solved icon at the bottom?

This doesn't have direct relation to Q&A layout. The "Solved" featured is used for all kind of forums. But there is no option to turn that off yet.

Reply
2 Replies
(@cotner)
Joined: 6 months ago

Estimable Member
Posts: 110
Posted by: @martin

Topic becomes "Hot" after 20 replies. 

Is there ANY way of changing this? I would love for it to be something like 75 or 100.

Reply
Robert
Admin
(@robert)
Joined: 7 years ago

Support Team
Posts: 9966

@cotner,

You can use this hook code in Code Snippets plugin as a PHP code or in the functions.php file of your current active WordPress theme. This is a new hook, so it'll work starting from the next 2.0.7 version.

All topics with more than 75 posts will be displayed as hot:

add_filter( 'wpforo_hot_topic_min_posts', function($n){ return 75; });
Reply
Posts: 110
(@cotner)
Estimable Member
Joined: 6 months ago

Outstanding @robert

Thank you very much!

Reply