Jump to content
Sign in to follow this  
stephwise

Custom Post Navigation

Recommended Posts

stephwise

Hi, How would I change the Post Navigation to say "Previous Review" / "Next Review" instead of the post titles? Thanks!

Share this post


Link to post
Share on other sites
kastelic

You will need to override platformpro/sections/wp/section.postnav.php To do this make a file called template.postnav.php and place it in the root of your child theme. The copy the content within the function

section_template()

(from section.postnav.php) into that file, make the necessary changes and save.

Share this post


Link to post
Share on other sites
kastelic

Here is the entirety of what you should have in template.postnav.php : <div class="post-nav fix"> <span class="previous"><?php previous_post_link('%link', 'Previous Review') ?></span> <span class="next"><?php next_post_link('%link','Next Review') ?></span> </div>

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this  

×