Take the 2-minute tour ×
WordPress Development Stack Exchange is a question and answer site for WordPress developers and administrators. It's 100% free, no registration required.

I need to sort some of the "Group Discussion" discussion threads in reverse Chrono order. Is it possible? How is it done?

Thanks.

share|improve this question
    
Please specify if you are referring to the site discussion forums or the group discussion forums –  Rachel Baker Jul 25 '12 at 19:00
    
Group Discussions -- thanks @RachelBaker (updated my question) –  frank13 Jul 25 '12 at 19:03
    
@RachelBaker, do you know what core program does the sorting? –  frank13 Jul 25 '12 at 20:46
add comment

1 Answer

It is the BP_has_forum_topics() method that handles the displaying of the group forum topics.

The bp_has_forum_topics() function will accept a number of parameters that will manipulate the data being returned.

List forum topics by type: Accepted arguments: newest,popular,unreplied,tags (if type equals “tags”, define the “search_terms” argument and list the tag you wish to filter by) Default value: newest

share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.