Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
Add previous and next single post navigation links in Genesis. Source:
/* Previous and next single post navigation links */
.adjacent-entry-pagination {
background: none;
border-bottom: 1px solid #ddd;
border-top: 1px solid #ddd;
margin: 100px 0;
padding: 0;
.single .pagination-next,
.single .pagination-previous {
font-size: 20px;
font-weight: 900;
padding: 60px 0;
width: 50%;
.adjacent-entry-pagination .pagination-previous {
border-right: 1px solid #ddd;
float: left;
padding-right: 15px;
.adjacent-entry-pagination .pagination-next {
float: right;
padding-left: 15px;
//* Display post navigation links to previous and next post, from a single post, in Genesis.
add_action('genesis_after_entry', 'genesis_prev_next_post_nav', 9);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment