How to remove “read more” link from custom post type excerpt

Question

Is there a way I can add some kind of pre_get_posts() filter to strip out the “read more” link that appears at the end of the_excerpt() for only 1 certain custom post type that I specify?

If so, can someone please help me out with the code? I’ve been working at it for a while but haven’t gotten anywhere. Any help would be greatly appreciated. Thanks!

0
, , Evster 10 years 2013-11-11T15:31:30-05:00 0 Answers 103 views 0

Leave an answer

Browse
Browse