Last active
August 2, 2018 10:08
-
-
Save radarin/d267c352083c05e849e364b38e5806d0 to your computer and use it in GitHub Desktop.
Weiterlesen-Link ersetzen
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
<?php | |
/* Ersetzt das [...]-Weitersesen Symbol gegen einen Weiterlesen Link. */ | |
function wpdocs_excerpt_more( $more ) { | |
return ' [<a href="'.get_permalink().'"> Weiter xxx lesen</a> ]'; | |
} | |
add_filter( 'excerpt_more', 'wpdocs_excerpt_more' ); | |
?> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment