How would I show “next topic in forum”?
Similar to the WordPress “Next Post in Category” function ( next_post_link() ) , how would I display the next and previous topics at the topic of a specific topic page in the BP template (topic.php)?
I noticed there is a next_topic() function as part of the class BP_Forums_Template_Topic, but my php knowledge stops short of figuring out what a class function is and how to work with it (or even if it would work here).
Is that class function the way to go, or is there a better or simpler way to display the next and previous topics in a category?
- The topic ‘How would I show “next topic in forum”?’ is closed to new replies.