Hi there,
i have been trying forever to change the ‘‘read more’’ text that shows underneath blog post, but with no succes.
Can you help me out? i saw other topics where they used this code :
function new_excerpt_more($more)
{
$stack = x_get_stack();
if ( $stack == 'integrity' ) {
return ' ... <div><a href="' . get_permalink() . '" class="more-link">' . __( 'Read More', '__x__' ) . '</a></div>';
} else if ( $stack == 'renew' ) {
return ' ... <a href="' . get_permalink() . '" class="more-link">' . __( 'Read More', '__x__' ) . '</a>';
}
}
add_filter(‘excerpt_more’, ‘new_excerpt_more’);
But this didn’t work for me.