Some WordPress theme by default are using excerpt instead of full post to display post list on Homepage. Do you ever wonder why the the_excerpt() function displaying [...] at the end of the post excerpt? We don’t find this beautiful to see. Let us see how to remove it.
![the_the_excerpt the the excerpt How to Remove the [..] from WordPress excerpt](http://wptidbits.com/wp-content/uploads/2012/02/the_the_excerpt.jpg)
Simply paste the following function in the functions.php file in your theme:
function trim_excerpt($text) {
return rtrim($text,'[...]');
}
add_filter('get_the_excerpt', 'trim_excerpt');
Done!
Thanks to WPRecipes
