Removing “Read more” from lists containing articles can be done by changing the text from Excerpt, by adding the following function to functions.php.
1 2 3 4 5 6 |
function new_excerpt_more($more) { global $post; remove_filter('excerpt_more', 'new_excerpt_more'); return ' <a class="read_more" href="'. get_permalink($post->ID) . '">' . '...' . '</a>'; } add_filter('excerpt_more','new_excerpt_more',11); |
The three ellipsis practically replace “Read more”.
Source: StackOverflow.com