Beispiel #1
0
            $topic_in = '<a href="' . bp_get_the_topic_object_permalink() . '">' . bp_get_the_topic_object_avatar('type=thumb&width=20&height=20') . '</a>' . '<a href="' . bp_get_the_topic_object_permalink() . '" title="' . bp_get_the_topic_object_name() . '">' . bp_get_the_topic_object_name() . '</a>';
            /* translators: "started by [poster] in [forum]" */
            printf(__('in %1$s', 'wplms_modern'), $topic_in);
            ?>

							</span>

						<?php 
        }
        ?>

					</p>
				</td>
				<td class="td-postcount">
					<?php 
        bp_the_topic_total_posts();
        ?>
				</td>
				<td class="td-freshness">
					<span class="time-since"><?php 
        bp_the_topic_time_since_last_post();
        ?>
</span>
					<p class="topic-meta">
						<span class="freshness-author">
							<a href="<?php 
        bp_the_topic_permalink();
        ?>
"><?php 
        bp_the_topic_last_poster_avatar('type=thumb&width=20&height=20');
        ?>
Beispiel #2
0
					</a>
				</td>
				<td class="td-poster">
					<a href="<?php bp_the_topic_permalink() ?>"><?php bp_the_topic_last_poster_avatar( 'type=thumb&width=20&height=20' ) ?></a>
					<div class="poster-name"><?php bp_the_topic_last_poster_name() ?></div>
				</td>

				<?php if ( !bp_is_group_forum() ) : ?>
					<td class="td-group">
						<a href="<?php bp_the_topic_object_permalink() ?>"><?php bp_the_topic_object_avatar( 'type=thumb&width=20&height=20' ) ?></a>
						<div class="object-name"><a href="<?php bp_the_topic_object_permalink() ?>" title="<?php bp_the_topic_object_name() ?>"><?php bp_the_topic_object_name() ?></a></div>
					</td>
				<?php endif; ?>

				<td class="td-postcount">
					<?php bp_the_topic_total_posts() ?>
				</td>
				<td class="td-freshness">
					<?php bp_the_topic_time_since_last_post() ?>
				</td>

				<?php do_action( 'bp_directory_forums_extra_cell' ) ?>
			</tr>

			<?php do_action( 'bp_directory_forums_extra_row' ) ?>

			<?php endwhile; ?>

		</tbody>
	</table>