Skip to content

Instantly share code, notes, and snippets.

@deeman
Created November 27, 2019 10:09
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save deeman/04e6f5b516db2f0de6b00b6441d8408e to your computer and use it in GitHub Desktop.
Save deeman/04e6f5b516db2f0de6b00b6441d8408e to your computer and use it in GitHub Desktop.
Genesis Framework: Customize Post Navigations
//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