Skip to content

Instantly share code, notes, and snippets.

@michaeloeser
Last active August 29, 2015 13:58
Show Gist options
  • Save michaeloeser/9971058 to your computer and use it in GitHub Desktop.
Save michaeloeser/9971058 to your computer and use it in GitHub Desktop.
Change the appearance of the WordPress excerpt more link
<?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).' &raquo;</a><br /><br />';
}
?>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment