Last active
December 28, 2015 05:59
-
-
Save andornagy/7453675 to your computer and use it in GitHub Desktop.
WordPress Post Navigations
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
/** Add post navigation (requires HTML5 support) */ | |
add_action( 'genesis_after_entry_content', 'genesis_prev_next_post_nav', 5 ); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
/* Add Previouse post link to single Post **/ | |
previous_post_link($format, $link, $in_same_cat = false, $excluded_categories = ''); ?> | |
<?php | |
/* Add PNext post link to single Post **/ | |
next_post_link($format, $link, $in_same_cat = false, $excluded_categories = ''); ?> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment