Last active
August 29, 2015 13:58
-
-
Save michaeloeser/9971058 to your computer and use it in GitHub Desktop.
Change the appearance of the WordPress excerpt more link
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 | |
// Changing excerpt more | |
add_filter('excerpt_more', 'new_excerpt_more'); | |
function new_excerpt_more($more) { | |
return '...<br /><a class="clear excerptmore button" href="'.get_permalink().'">'. __('Continue reading' , PRiNZ_DOMAIN).' »</a><br /><br />'; | |
} | |
?> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment