Skip to:
Content
Pages
Categories
Search
Top
Bottom

Show post Author next to Last poster?

  • Is this possible? Is there a plugin for this?

    As my forum is brand new, showing Last poster can often be somewhat monotone… Therefor I want to show the Author of threads as well. How do I achieve this?

Viewing 3 replies - 1 through 3 (of 3 total)
  • Try hardcoding <?php topic_author(); ?> in your template at the place where do you want the Author name to appear.

    I want rows and description, like in the original theme. Where it says “Last poster” – I want “Author” to appear just like that, next to it. In other words, create an entire new column.

    you have to open two files from your BBpress template:

    front-page.php

    forums.php

    look for the lines:

    <th><?php _e(‘Topic’); ?> — <?php bb_new_topic_link(); ?></th>

    <th><?php _e(‘Posts’); ?></th>

    <th> is the titles so you will most likely put “<th><?php _e(‘Author’); ?></th>” showing Author as the title. Just remember what order you put it on if you put it third then you need to put it third on teh enxt step.

    Look for:

    <td class=”num”><?php topic_posts(); ?></td>

    The class might be different but <?php topic_posts(); ?> is the same

    so you put third:

    <td class=”num”><?php topic_author(); ?></td>

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