Remove Brackets from Posts Element Excerpt

FB_IMG_1626371944258

Hi @wissam,

you can use a simple filter to get rid of the brackets, so i don´t think this is an actual feature request: the_excerpt() | Function | WordPress Developer Resources

You can add the filter into your functions.php if you´re using bricks child theme, or via a Plugin like Code Snippets (free) or Advanced Scripts (paid):

/**
 * Filter the excerpt "read more" string.
 *
 * @param string $more "Read more" excerpt string.
 * @return string (Maybe) modified "read more" excerpt string.
 */
function wpdocs_excerpt_more( $more ) {
    return '...';
}
add_filter( 'excerpt_more', 'wpdocs_excerpt_more' );

Regards,
timmse

1 Like

Perfect thanks. @timmse