<li class="bbp-forum-topic-count"><?php 
bbp_forum_topic_count();
?>
</li>

  <li class="bbp-forum-reply-count"><?php 
bbp_show_lead_topic() ? bbp_forum_reply_count() : bbp_forum_post_count();
?>
</li>

  <li class="bbp-forum-freshness">

    <div class="author-avatar">
      <?php 
bbp_reply_author_avatar(bbp_get_forum_last_reply_id(), 50);
?>
    </div>
    <div class="topic-desc">
      <?php 
do_action('bbp_theme_before_topic_freshness_author');
?>

      <span class="bbp-topic-freshness-author"><?php 
echo bbp_get_reply_author_link(bbp_get_forum_last_reply_id(), 50);
?>
</span>

      <?php 
do_action('bbp_theme_after_topic_freshness_author');
?>
Exemple #2
0
        ?>
</p>
						</div>

					<?php 
    }
    ?>

					<?php 
    do_action('bbp_template_notices');
    ?>

					<div>
						<div class="author-avatar">
							<?php 
    bbp_is_topic_edit() ? bbp_reply_author_avatar(bbp_get_reply_id(), 64) : bbp_current_user_avatar(64);
    ?>
						</div>

						<?php 
    bbp_get_template_part('bbpress/form', 'anonymous');
    ?>

						<p>
							<label for="bbp_topic_title"><?php 
    printf(__('Topic Title (Maximum Length: %d):', 'bbpress'), bbp_get_title_max_length());
    ?>
</label><br />
							<input type="text" id="bbp_topic_title" value="<?php 
    bbp_form_topic_title();
    ?>
<div id="post-<?php 
bbp_reply_id();
?>
" <?php 
bbp_reply_class();
?>
>

    <div class="bbp-reply-author">

        <?php 
do_action('bbp_theme_before_reply_author_details');
?>

        <?php 
bbp_reply_author_avatar(bbp_get_reply_id(), 60);
?>

        <?php 
do_action('bbp_theme_after_reply_author_details');
?>

    </div>
    <!-- .bbp-reply-author -->

    <div class="bbp-reply-content">

        <?php 
do_action('bbp_theme_before_reply_content');
?>
 /**
  * Output the contents of the `bbp_topic_reply_author` column
  *
  * @since 2.6.0 bbPress (r5886)
  */
 public function column_bbp_topic_reply_author($item = '')
 {
     bbp_reply_author_avatar($item->ID, 50);
     bbp_reply_author_display_name($item->ID);
     echo '<br>';
     bbp_reply_author_email($item->ID);
     echo '<br>';
     bbp_author_ip(array('post_id' => $item->ID));
 }