Change blog excerpt ... to Read More how to do in WP Helium?
Posted 8 years 7 months ago
On normal WP templates I can change the ... found at the end of a blog exerpt on the list page to say Read More by inserting a bit of code into the functions.php. How do I change it in Gantry 5? I tried using the code suggested on
as shown below (but it doesn't work):
// Replaces the excerpt "Read More" text by a link
function new_excerpt_more($more) {
global $post;
return '<a class="moretag" href="'. get_permalink($post->ID) . '"> Read the full article...</a>';
}
add_filter('excerpt_more', 'new_excerpt_more');
Any idea what I need to do to change from the three dots (...) to what I have above?