Excerpts are the mini-descriptions of the posts shown on the main pages of most WordPress blogs, their category pages, and archive pages. You can place a filter in your functions.php file to tell WordPress to remove the default ‘more’ which looks like this: […], and replace it with a link.
Check out the screenshot above. Nice, huh? It’s really easy to do and you can customize the text to say anything you’d like. You can even use an inline style to customize it further.
Just open your functions.php file, and paste the following code inside the php tags:
function new_excerpt_more($more) { global $post; return '...<a href="'. get_permalink($post->ID) . '"><i> Continue Reading...</i></a>'; } add_filter('excerpt_more', 'new_excerpt_more');
Like this tutorial? I would love to hear from you in the comments…