Overriding featured image on custom post type
-
Is there a way to override a custom post type’s the_post_thumbnail() function? I’d like to allow the users to set a featured image (thumbnail), but have the post default to something if it isn’t provided.
I could do this with some conditionals in the theme, but if I can override the function, I won’t have put a bunch of logic into the view.
Thanks,
Louis
- The topic ‘Overriding featured image on custom post type’ is closed to new replies.