Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php
- /** Genesis Previous/Next Post Post Navigation */
- add_action( 'genesis_before_comments', 'eo_prev_next_post_nav' );
- function eo_prev_next_post_nav() {
- if ( is_single() ) {
- echo '<div class="prev-next-navigation">';
- previous_post_link( '<div class="previous">❮ %link</div>', '%title' );
- next_post_link( '<div class="next">%link ❯</div>', '%title' );
- echo '</div><div class="clearfix"></div><!-- .prev-next-navigation -->';
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement