Forums

Join
bbPress Support ForumsPimp your PressTopic Forum (Front Page)

Info

Topic Forum (Front Page)

  1. 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

  2. Try the following:
    <?php forum_name( $topic->forum_id ); ?>

  3. 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 be forum_link( $topic->forum_id )? ^^,

  4. Pretty much; something like this:
    <a href="<?php forum_link( $topic->forum_id ); ?>"><?php forum_name( $topic->forum_id ); ?></a>

  5. Thanks - I feel like an idiot. I really need to explore the bbPress core a little more.

  6. What a coincidence. I was just trying to see if there was already a function in place to do this as well! Thanks matveb!

  7. No problem :)

  8. You must log in to post.