Skip to:

replacing post counts with forum names on the front page

  • My forum names(main themes) are locations where forum is held.

    I want to replace post counts in the column at the latest discussion with the forum names(mine is locations) so that they will be able to know where the topic is posted.

    Can anybody teach me how to do that?

    front-page.php line52

    <?php if ( $topics ) : foreach ( $topics as $topic ) : ?>

    <tr<?php topic_class(); ?>>

    <td><?php bb_topic_labels(); ?> “><?php topic_title(); ?></td>

    <td class=”num”><?php topic_posts(); ?></td> <!– I want to replace here with something like forum_names –>

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

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


    <?php endforeach; endif; // $topics ?>

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