Ticket #3245: comment-postmetadata-refinements.patch
File comment-postmetadata-refinements.patch, 1.8 KB (added by , 13 years ago) |
---|
-
bp-themes/bp-default/single.php
29 29 30 30 <?php wp_link_pages( array( 'before' => '<div class="page-link"><p>' . __( '<strong>Pages:</strong> ', 'buddypress' ), 'after' => '</p></div>', 'next_or_number' => 'number')); ?> 31 31 </div> 32 <?php ( get_comments_number() >= 1 ) ? $post_has_comments = true : $post_has_comments = false ?> 33 34 <p class="postmetadata"><span class="tags"><?php the_tags( __( 'Tags: ', 'buddypress' ), ', ', '<br />'); ?></span> <?php if( !$post_has_comments && !comments_open() && pings_open() ): ?> <span class="comments-off comments"><?php _e('Pingbacks Open, Comments Off', 'buddypress') ?></span><?php else: ?><span class="comments"><?php comments_popup_link( __( 'No Comments »', 'buddypress' ), __( '1 Comment »', 'buddypress' ), __( '% Comments »', 'buddypress' ) ); ?><?php if(!comments_open() && $post_has_comments) ?> <?php _e('Comments are now closed', 'buddypress') ?> </span><?php endif; ?></p> 32 35 33 <p class="postmetadata"><?php the_tags( '<span class="tags">' . __( 'Tags: ', 'buddypress' ), ', ', '</span>' ); ?> <span class="comments"><?php comments_popup_link( __( 'No Comments »', 'buddypress' ), __( '1 Comment »', 'buddypress' ), __( '% Comments »', 'buddypress' ) ); ?></span></p>34 35 36 <div class="alignleft"><?php previous_post_link( '%link', '<span class="meta-nav">' . _x( '←', 'Previous post link', 'buddypress' ) . '</span> %title' ); ?></div> 36 37 <div class="alignright"><?php next_post_link( '%link', '%title <span class="meta-nav">' . _x( '→', 'Next post link', 'buddypress' ) . '</span>' ); ?></div> 37 38 </div>