How to edit the topics that are shown in the bbp-single-view popular
I am thinking about editing what the shortcode [bbp-single-view id=’popular’] displays. What I would like to change it to is to display the most popular topics per day. For example, a topic that has 10 replies one day and so classed as ‘popular’ has 1 the next day and so it is no longer on the list.
I have made a function that returns the number of replies in the current day by using the topicID but I am unsure where to go from here, to link it to this feature.
Any help is greatly appreciated!
- You must be logged in to reply to this topic.