Change or hide the "..." in the "Read More..." link in Feature a Page Widget 2.0.2
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
/** | |
* 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