Skip to:
Content
Pages
Categories
Search
Top
Bottom

Re: Previous post, next post links not displaying anything


Kevin Pine
Participant

@kevinpine

That didn’t work for me either but your syntax correction helped. This is what I finally got to work.

<?php __( previous_post_link( ‘« %link’), ‘buddypress’ ) ?>

<?php __( next_post_link( ‘%link »’ ), ‘buddypress’ ) ?>

Using ‘_post_link’ instead of ‘_posts_link’. Also ‘%link’ displays the prev/next post name hyperlinked to the post.

You can see an example here: http://nashvillesharepoint.com/blog/2009/11/11/community-dev-testing-bp-plugins/

Skip to toolbar