Skip to content

Instantly share code, notes, and snippets.

@studiopress
Last active January 14, 2017 02:47
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 2 You must be signed in to fork a gist
  • Save studiopress/5570515 to your computer and use it in GitHub Desktop.
Save studiopress/5570515 to your computer and use it in GitHub Desktop.
Genesis post navigation.
<?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 &#x000BB;';
}
<?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 '&#x000AB; Custom Previous Page Link';
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment