Skip to:
Content
Pages
Categories
Search
Top
Bottom

Topic Forum (Front Page)

  • @michael888

    Participant

    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

Viewing 6 replies - 1 through 6 (of 6 total)
  • @matveb

    Member

    Try the following:

    <?php forum_name( $topic->forum_id ); ?>

    @michael888

    Participant

    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 )? ^^,

    @matveb

    Member

    Pretty much; something like this:

    <a href="<?php forum_link( $topic->forum_id ); ?>"><?php forum_name( $topic->forum_id ); ?></a>

    @michael888

    Participant

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

    @taeo

    Member

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

    @matveb

    Member

    No problem :)

Viewing 6 replies - 1 through 6 (of 6 total)
  • You must be logged in to reply to this topic.
Skip to toolbar