Hi, Looking to add links on my site for the previous and next posts. I have the code to add to my theme but I am still a little confused about this.

Join the Discussion
Write something…
Recent messages
DianeScorpio Premium
Hi - some themes include this option automatically. If not, you would need to do some coding, and I wouldn't recommend this if you are not familiar with the process.
Reply
chivs86 Premium
Hi, I know a bit about coding. I have the code I'm just not sure where this would go. Any ideas?
Reply
chivs86 Premium
Hi, Can anyone help? How do I add previous and next post links on my site?
Reply
Jaz333 Premium
Hi - Many themes will include this automatically once you have published enough content. The way each theme displays additional content on the site may differ however.
Reply
chivs86 Premium
I have published 25 posts almost using Generate Press theme.
Reply
Jaz333 Premium
I use generate press with the premium plugin. I use the blog roll as my homepage. In general settings for AIO SEO I have it set to allow 6 posts per page right now so at the bottom on my home page, it shows a 'Next Page' button.

Then on each post, just at the bottom next to where the tags are shown, the theme automatically displays the name of the previous and next post with links for the visitor to view them. I'm sure yours appear similar.
Reply
chivs86 Premium
I am using the free plugin. It doesn't appear like this I think I will have to add the code to my theme. Just not sure where though will have to look on google.
Reply
Jaz333 Premium
The option may also be in the settings somewhere. I am almost certain the free version of generate press does this as well. Most themes will show this.
Reply
Labman Premium
These codes are automatically entered by WordPress at the bottom of the blog roll.
Reply
chivs86 Premium
Not for me.
Reply
Top