181 | | <li class="topic-forum">In: <a href="<?php bbp_forum_permalink( bbp_get_topic_forum_id() ); ?>"><?php bbp_topic_forum_title(); ?></a></li> |
182 | | <?php if ( !empty( $reply_count ) ) : ?><li class="reply-count"><?php echo $reply_count; ?></li><?php endif; ?> |
183 | | <?php if ( !empty( $voice_count ) ) : ?><li class="voice-count"><?php echo $voice_count; ?></li><?php endif; ?> |
| 181 | <li class="topic-forum"><?php |
| 182 | /* translators: %s: forum title */ |
| 183 | printf( __( 'In: %s', 'bbpress' ), |
| 184 | sprintf( '<a href="%s">%s</a>', esc_url( bbp_get_forum_permalink( bbp_get_topic_forum_id() ) ), bbp_get_topic_forum_title() ) |
| 185 | ); |
| 186 | ?></li> |
| 187 | <?php if ( !empty( $reply_count ) ) : ?> |
| 188 | <li class="reply-count"><?php echo $reply_count; ?></li> |
| 189 | <?php endif; ?> |
| 190 | <?php if ( !empty( $voice_count ) ) : ?> |
| 191 | <li class="voice-count"><?php echo $voice_count; ?></li> |
| 192 | <?php endif; ?> |
185 | | <li class="topic-freshness-author"><?php printf( __( 'Last reply from: %s', 'bbporg' ), bbp_get_author_link( array( 'type' => 'name', 'post_id' => $last_reply, 'size' => '15' ) ) ); ?></li> |
| 194 | <li class="topic-freshness-author"><?php |
| 195 | /* translators: %s: reply author link */ |
| 196 | printf( __( 'Last reply from: %s', 'bbporg' ), |
| 197 | bbp_get_author_link( array( 'type' => 'name', 'post_id' => $last_reply, 'size' => '15' ) ) |
| 198 | ); |
| 199 | ?></li> |