Skip to content

Instantly share code, notes, and snippets.

@grtaylor2
Last active August 11, 2021 19:53
Show Gist options
  • Star 8 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save grtaylor2/5074635 to your computer and use it in GitHub Desktop.
Save grtaylor2/5074635 to your computer and use it in GitHub Desktop.
Change the [Read More] Text in Genesis WordPress Child Theme
/** Customize Read More Text */
add_filter( 'excerpt_more', 'child_read_more_link' );
add_filter( 'get_the_content_more_link', 'child_read_more_link' );
add_filter( 'the_content_more_link', 'child_read_more_link' );
function child_read_more_link() {
return '<a href="' . get_permalink() . '" rel="nofollow">CUSTOMIZE YOUR TEXT HERE</a>';
}
@zirtrex
Copy link

zirtrex commented Apr 15, 2021

Thanks you-

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment