Hi There,
Please add the following code under functions.php file locates in your child theme:
function x_excerpt_string( $more ) {
$stack = x_get_stack();
if ( $stack == 'integrity' ) {
return ' ... <div><a href="' . get_permalink() . '" class="more-link x-btn x-btn-red x-btn-real x-btn-rounded x-btn-regular">' . __( 'Read More', '__x__' ) . '</a></div>';
} else if ( $stack == 'renew' ) {
return ' ... <a href="' . get_permalink() . '" class="more-link x-btn x-btn-red x-btn-real x-btn-rounded x-btn-regular">' . __( 'Read More', '__x__' ) . '</a>';
} else if ( $stack == 'icon' ) {
return ' ...';
} else if ( $stack == 'ethos' ) {
return ' ... <a href="' . get_permalink() . '" class="more-link x-btn x-btn-red x-btn-real x-btn-rounded x-btn-regular">' . __( 'Read More', '__x__' ) . '</a>';
}
}
add_filter( 'excerpt_more', 'x_excerpt_string' );