Skip to:
Content
Pages
Categories
Search
Top
Bottom

How to get Forum name from Topic?


  • gerikg
    Member

    @gerikg

    I want to organize my front-page.php to show where the topic is from.

    example this thread.

    Lastest Discussion

    How to get Forum name from Topic? in Troubleshooting

    I want to know how to get “Troubleshooting”

    I’m assuming <?php forum_name(***topic ID HERE***); ?>

Viewing 3 replies - 1 through 3 (of 3 total)
  • well you can always call bb_get_forum

    and the topic always has $topic->forum_id to pass in

    (might be something in the loop but i can’t remember without searching for it)


    psycheangels
    Member

    @psycheangels

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

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


    gerikg
    Member

    @gerikg

    Works thanks!

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