Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
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