Paste the following code into your functions.php file. Once saved, the tip will be applied to your blog
function replace_excerpt($content) { return str_replace('[...]', '... <div class="more-link"><a href="'. get_permalink() .'">Continue Reading</a></div>', $content ); } add_filter('the_excerpt', 'replace_excerpt');
No comments:
Post a Comment