I am looking for a solution that would allow there to be multiple excerpt boxes per post in a custom post type, and for there to be a way to have those excerpts have categories. I know I can add meta boxes to give extra text areas and display that text, but I’m not quite sure that’s what I’m looking for.
To clarify, I have a custom post type for testimonials. That post type has categories which are displayed on pages based on which category is checked. Some of the testimonials will have more than one quote in them that I want to use, so rather than have multiple posts for the the same full testimonial I want to have several excerpt boxes on the same post. I hope this makes sense, its a bit difficult to describe I guess. Thanks.
I think yes, custom meta boxes is what you should be looking for. It can be done programmatically, but using a good plugin will help solve this issue (and many others) quite fast.
Using Custom Content Type Manager it would go like this:
Setting the Custom Field
click to enlarge
Note the Repeatable option.
In the same screen, there’s also this:
I created the "Testimonials" CPT with the very plugin, but all registered CPTs (by theme or plugins) should already appear here.
Resulting Meta Box in the CPT Page
Alternative
Advanced Custom Fields is another great plugin, but the repeatable option is a premium add-on.