Skip to:
Content
Pages
Categories
Search
Top
Bottom

How to show forum title on latest topics list?

  • @guerroloco

    Member

    Just wondering if there’s an easy way to add the forum title for each topic on the “latest discussions” list on the front page. i.e. I want to add an “In forum”: column to the latest discussion list table.

    Something in the topics loop in front-page.php ought to do it…. but what? I tried get_forum_name(), but that takes the forum ID. Is the forum ID available anywhere in the $topic var inside the loop?

Viewing 2 replies - 1 through 2 (of 2 total)
  • @livibetter

    Member

    Try forum_name($topic->forum_id);

    @guerroloco

    Member

    Perfect, that’s it!

    I thought I’d tried this statement already, but evidently not.

    Thank you!

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