Created
November 27, 2019 10:09
-
-
Save deeman/04e6f5b516db2f0de6b00b6441d8408e to your computer and use it in GitHub Desktop.
Genesis Framework: Customize 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
//CUSTOM POST NAVIGATIONS | |
//* Customize the next page link | |
add_filter ( 'genesis_next_link_text' , 'sp_next_page_link' ); | |
function sp_next_page_link ( $text ) { | |
return '»'; | |
} | |
//* Customize the previous page link | |
add_filter ( 'genesis_prev_link_text' , 'sp_previous_page_link' ); | |
function sp_previous_page_link ( $text ) { | |
return '«'; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment