Do you want to add the navigation button such as Next post and Previous post into your Genesis theme by using the just simple line of code snippet?
Then you came at the right place.
Her:
We have posted the code snippets of displaying Next and Previous button on the single posts page. Just use the below code snippets.
Read Also: Adding Facebook Comment in Genesis Theme Without Plugin, How to Add the After Post Widget to Genesis Theme
Let’s not waste time and get to the point.
How to add Next and Previous post button in Genesis Theme?
For adding Next and Prev button to your post just copy and paste the below functions code to your Genesis Child Theme’s functions.php file and save it.
Code of Next & Previous Post Navigation.
The above code will add the post navigation button into your theme and the design would not look good. If you wanna customize it with the lovely design, Use the below CSS Code Snippets.
CSS Code Snippets for Styling Next & Prev Button
The above code will give you the beautiful design of navigation.
That’s it, guys. Comment in the comment box about how was this post and it helps you or not. Don’t forget to Share.
This code through 500 internal server error. Does the prev & next posts appear before the comments section or after the comments section. I need to make them appear before the comments section.
Hey Raghava.
First, It has nothing to do with 500 internal server error, because it is not calling to any extra file or heavy function.
There were spelling mistake on the code and I have updated it.
“I need to make them appear before the comments section.” Just use the above code it will display just after post content.
Hope it will help.
Let me know if you have any problem.
It’s working great and perfect. Thanks
This looks great on my blog but I don’t want it to appear on my pages. How do I make it appear only on the blog? Thank you!!!