Skip to:
Content
Pages
Categories
Search
Top
Bottom

Topic Forum (Front Page)


  • Michael
    Participant

    @michael888

    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)

  • Matias Ventura
    Member

    @matveb

    Try the following:

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


    Michael
    Participant

    @michael888

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


    Matias Ventura
    Member

    @matveb

    Pretty much; something like this:

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


    Michael
    Participant

    @michael888

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


    Taeo
    Member

    @taeo

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


    Matias Ventura
    Member

    @matveb

    No problem :)

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