Changeset 3929
- Timestamp:
- 09/02/2016 04:00:47 PM (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-forums/bbpress/loop-posts.php
r3909 r3929 3 3 /** 4 4 * Posts Loop 5 *6 * @todo Front-side action buttons7 * @todo Better excerpt styling8 5 * 9 6 * @package bbPress … … 25 22 <?php while ( bbp_topics() ) : bbp_the_topic(); ?> 26 23 27 <ul> 28 <li class="bbp-topic-title"><a href="<?php the_permalink(); ?>"><?php the_title(); ?></a><br /> 24 <?php if ( 'topic' == get_post_type() ) : ?> 29 25 30 <span class="bbp-topic-started-by"><?php printf( __( 'Started by: %1$s', 'wporg-forums' ), bbp_get_topic_author_link( array( 'size' => '14' ) ) ); ?></span>26 <?php bbp_get_template_part( 'content', 'single-topic-lead' ); ?> 31 27 32 <span class="bbp-topic-started-in"><?php printf( __( 'in: <a href="%1$s">%2$s</a>', 'wporg-forums' ), bbp_get_forum_permalink( bbp_get_topic_forum_id() ), bbp_get_forum_title( bbp_get_topic_forum_id() ) ); ?></span></li> 28 <?php // This actually works. ?> 29 <?php else : bbpress()->reply_query = bbpress()->topic_query; ?> 33 30 34 <li class="bbp-post-excerpt"><?php the_excerpt(); ?></li> 35 </ul> 31 <?php bbp_get_template_part( 'loop', 'single-reply' ); ?> 32 33 <?php endif; ?> 36 34 37 35 <?php endwhile; ?>
Note: See TracChangeset
for help on using the changeset viewer.