Hi everybody
I had this custom functions in my functions.php for a while now, it replaces the [...] at the end of an excerpt with a permalink. Unfortunately this stopped working with WP 3.6, does anyone have an idea why and how to fix it?
function replace_excerpt($content) {
return str_replace('[...]',
'<p class="more-link"><a href="'. get_permalink() .'">Continue Reading</a></p>',
$content
);
}
add_filter('the_excerpt', 'replace_excerpt');
Thanks alot!