Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
Change or hide the "..." in the "Read More..." link in Feature a Page Widget 2.0.2
/**
* changes read more link from "Read More..." to "Read More!"
*
* @param string $ellipsis punctionation at end of read more link
*
* @return string new punctuation
*/
add_filter( 'fpw_read_more_ellipsis', 'fpw_change_read_more_ellipsis_to_exclamation' );
function fpw_change_read_more_ellipsis_to_exclamation() {
return '!';
}
/**
* hide ellipsis in "Read More..." link
*/
add_filter( 'fpw_read_more_ellipsis', '__return_null' );
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment