Info
- 7 posts
- 3 voices
- Started 2 years ago by Michael
- Latest reply from Matías Ventura
Topic Forum (Front Page)
-
- Posted 2 years ago #
Greetings all :)
I hope someone can help me here.
I have a strange feeling there is a function for this, but I can't find it. I'd like to add a column into my Latest Discussions on the front page that shows the forum that the topic resides in. I'd like to do this so that users don't have to explicitly state it in the title itself. I have a large structure for my new forum, and I'd like it to provide as many neatened features as possible.
Kind Regards
Michael -
- Posted 2 years ago #
Try the following:
<?php forum_name( $topic->forum_id ); ?> -
- Posted 2 years ago #
Thanks - works like a charm: http://www.inniosoft.co.cc/devstation
Is there maybe a way to get the link to that forum?
Would it maybe beforum_link( $topic->forum_id )? ^^, -
- Posted 2 years ago #
Pretty much; something like this:
<a href="<?php forum_link( $topic->forum_id ); ?>"><?php forum_name( $topic->forum_id ); ?></a> -
- Posted 2 years ago #
Thanks - I feel like an idiot. I really need to explore the bbPress core a little more.
-
- Posted 2 years ago #
What a coincidence. I was just trying to see if there was already a function in place to do this as well! Thanks matveb!
-
- Posted 2 years ago #
No problem :)
-
You must log in to post.