예제 #1
0
				<?php 
    do_action('bp_directory_forums_extra_cell_head');
    ?>

			</tr>
		</thead>

		<tbody>

			<?php 
    while (bp_forum_topics()) {
        bp_the_forum_topic();
        ?>

			<tr class="<?php 
        bp_the_topic_css_class();
        ?>
">
				<td class="td-title">
					<a class="topic-title" href="<?php 
        bp_the_topic_permalink();
        ?>
" title="<?php 
        _e('Permanent link to this post', 'wplms_modern');
        ?>
">

						<?php 
        bp_the_topic_title();
        ?>
예제 #2
0
					<th id="th-group"><?php _e( 'Posted In Group', 'buddypress' ) ?></th>
				<?php endif; ?>

				<th id="th-postcount"><?php _e( 'Posts', 'buddypress' ) ?></th>
				<th id="th-freshness"><?php _e( 'Freshness', 'buddypress' ) ?></th>

				<?php do_action( 'bp_directory_forums_extra_cell_head' ) ?>

			</tr>
		</thead>

		<tbody>

			<?php while ( bp_forum_topics() ) : bp_the_forum_topic(); ?>

			<tr class="<?php bp_the_topic_css_class() ?>">
				<td class="td-title">
					<a class="topic-title" href="<?php bp_the_topic_permalink() ?>" title="<?php bp_the_topic_title() ?> - <?php _e( 'Permalink', 'buddypress' ) ?>">
						<?php bp_the_topic_title() ?>
					</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>