Post Navigation
Viewing 3 replies - 1 through 3 (of 3 total)
-
You’ll have to edit Buddypress Default for that.
Log in your Admin Dashboard.
Go to Appearance – > Editor -> Buddypress Default
Open Single Post (single.php)Look for,
<div class="alignleft"><?php previous_post_link( '%link', '<span class="meta-nav">' . _x( '←', 'Previous post link', 'buddypress' ) . '</span> %title' ); ?></div> <div class="alignright"><?php next_post_link( '%link', '%title <span class="meta-nav">' . _x( '→', 'Next post link', 'buddypress' ) . '</span>' ); ?></div> </div>
and replace it with,
<div class="alignleft"><?php previous_post_link( '%link', '<span class="meta-nav">' . _x( '←', 'Previous post link', 'buddypress' ) . '</span> Previous' ); ?></div> <div class="alignright"><?php next_post_link( '%link', 'Next <span class="meta-nav">' . _x( '→', 'Next post link', 'buddypress' ) . '</span>' ); ?></div> </div>
That worked Perfect!! Thanks a ton 🙂
This works but will be overwritten when you upgrade BuddyPress or your theme. It might be wiser to “translate” the string using a plugin or PO Edit even though this isn’t really a translation but rather a customisation. That way the change will stay if you keep your translation files (.po and .mo file). Read more here:
http://codex.wordpress.org/Translating_WordPress
Good luck!
Viewing 3 replies - 1 through 3 (of 3 total)
- The topic ‘Post Navigation’ is closed to new replies.