/ Published in: PHP

Expand |
Embed | Plain Text
Copy this code and paste it in your HTML
function replace_excerpt($content) { '<div class="more-link"><a href="'. get_permalink() .'">Continue Reading</a></div>', $content ); } add_filter('the_excerpt', 'replace_excerpt');
URL: http://css-tricks.com/snippets/wordpress/replace-excerpt-ellipsis-with-permalink/
Comments
