Function to imitate automatic excerpts in Wordpress with Custom Post Types and Meta Boxes