single.php has wrong function and format to show next and/or previous post link.
- 
		I posted to http://trac.buddypress.org/ticket/2982 /bp-themes/bp-default/single.php has a wrong function and format to show the next and/or previous post link. [ Original ] 
 <div class=”alignleft”><?php next_posts_link( __( ‘? Previous Entries’, ‘buddypress’ ) ) ?></div>
 <div class=”alignright”><?php previous_posts_link( __( ‘Next Entries ?’, ‘buddypress’ ) ) ?></div>Should be [ Changed to ] <div class=”alignleft”><?php next_post_link(‘%link’, __( ‘? Previous Entries’, ‘buddypress’ ) ) ?></div> 
 <div class=”alignright”><?php previous_post_link(‘%link’, __( ‘Next Entries ?’, ‘buddypress’ ) ) ?></div>However, this still will collapse the format of page, thus I recommend: [ Changed to ] <table> 
 <tr><td class=”alignleft”>
 <?php previous_post_link(‘%link’, ‘? %title’) ?>
 </td><td class=”alignright”>
 <?php next_post_link(‘%link’, ‘%title ?’) ?>
 </td></tr>
 </table>Note that %title can be changed to the default of “__( ‘? Previous Entries’, ‘buddypress’ )” and “__( ‘Next Entries ?’, ‘buddypress’ )” 
- The topic ‘single.php has wrong function and format to show next and/or previous post link.’ is closed to new replies.