Last active
January 14, 2017 02:47
-
-
Save studiopress/5570515 to your computer and use it in GitHub Desktop.
Genesis post navigation.
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 | |
//* Do NOT include the opening php tag shown above. Copy the code shown below. | |
//* Customize the next page link | |
add_filter ( 'genesis_next_link_text' , 'sp_next_page_link' ); | |
function sp_next_page_link ( $text ) { | |
return 'Custom Next Page Link »'; | |
} |
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 | |
//* Do NOT include the opening php tag shown above. Copy the code shown below. | |
//* Customize the previous page link | |
add_filter ( 'genesis_prev_link_text' , 'sp_previous_page_link' ); | |
function sp_previous_page_link ( $text ) { | |
return '« Custom Previous Page Link'; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment