Created
January 28, 2020 16:53
-
-
Save srdjan-m/2e00a0d40a4ff766cc379b5889ce7cf0 to your computer and use it in GitHub Desktop.
genesis: customize next and previous page link text
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
add_filter( 'genesis_prev_link_text', 'modify_previous_link_text' ); | |
function modify_previous_link_text($text) { | |
$text = 'Your Custom Previous Link Text'; | |
return $text; | |
} | |
/** | |
* @author Brad Dalton | |
* @example http://wpsites.net/web-design/customize-genesis-next-previous-page-link-text/ | |
* @copyright 2014 WP Sites | |
*/ | |
add_filter( 'genesis_next_link_text', 'modify_next_link_text' ); | |
function modify_next_link_text($text) { | |
$text = 'Your Custom Next Link Text'; | |
return $text; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment