Need help removing […] after excerpt

This has to work, Im using it in several projects:

add_filter( 'excerpt_more', 'my_excerpt_more' );

function my_excerpt_more( $more ) {

    return '';
}

Just copy-paste it to your functions.php.


Little bonus snippet that you might need:

add_filter( 'excerpt_length', 'my_excerpt_length' );

function my_excerpt_length( $length ) {

    return 50;
}

This means that excerpt is 50 words long. Just modify the number to get different length.