← Back to the blog
WPFEED ARCHIVE

How to Add Single Post Navigation in Genesis 2.0 (HTML5)

Genesis 2.0 was just released few weeks ago and there are lots of new features added and changes made to it. If you enable HTML5 markup, you may use the following snippet to add single post navigation in your theme.

Simple drop the code in functions.php of your child theme and you’re done. Here’s what you’ll see (see the one inside the red box):

single-post-navigation

Bonus: Customize The Single Post Navigation

Once you added the code to your child theme, you’ll see the post navigation at the end of every post. However, it’s just a link to your previous and next articles. If you want to have something fancier, you may customize it by targeting  .pagination-previous.alignleft > aand .pagination-next.aligright > a .

Snippets · Tutorials

Discussion

Leave a Reply

Your email address will not be published. Required fields are marked *