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.


To seek challenging roles and to achieve excellence in the field of Open Source Web Technology with a profound spirit of commitment and dedication.

Share This Post

Related Articles

© 2017 Sumit Bansal. All rights reserved. Site Admin · Entries RSS · Comments RSS
Powered by WordPress · Designed by Theme Junkie