Customize wordpress excerpt ellipsis with post permalink

Copy and Pase the given blow code in your functions.php file. This code will replace the ellipsis with post permalink.

function new_excerpt_more($content) {
return ‘<div><a href=”‘. get_permalink() .'”>Read More…</a></div>’;
}
add_filter(‘excerpt_more’, ‘new_excerpt_more’);

You can also modify it according to you.

Share This Post

Post Comment