Hi there!
I've been playing around with the 3.0 alpha release for the last days, and I'm really enjoying the new features. The custom post type is a feature I'm especially looking forward to.
While playing with these new post types, I came up with a question. How would you create custom write panels per custom post types? This tutorial provided by Kovshenin helped me to create distinct columns already, but I need to have special write panels per post type. Following the steps of this tutorial worked only for one post type, but I couldn't get it to work for two or more.
While it's so easy to add new post types and change columns I figured there must be an easy way to add those custom write panels, but I couldn't get my head around.
Any idea?
HeroicNate
Member
Posted 2 years ago #
Custom post type UI plugin seems to work for that. Maybe you can glean from his code how it works.
I don't see how they make custom write panels. I know how to create new post types and taxonomies, but i would like to add custom write panels to different post types (or custom meta boxes, if you like). So correct me if I'm wrong, but i guess my question is still standing.
HeroicNate
Member
Posted 2 years ago #
Allright.. it's not what i meant.
Those taxonomies are great but I want something else.
I need different custom metaboxes like the one you see here on different post types.
They are replacing custom_fields, or, so to speak, a nicer way of dealing with custom_fields. I just can't get them to work on different post types...
HeroicNate
Member
Posted 2 years ago #
At the moment I've only seen one custom fields plugin for custom post types and haven't been able to find any tutorials. The plugin is "custom field template". It's still a bit buggy though. As 3.0 matures I imagine that it others will follow along. Right now post-types in general seem a big buggy as they aren't fully integrated into WP functions yet.
Jack Barham
Member
Posted 1 year ago #
Hey, did you ever get to the bottom of this as I am in the same situation myself ..?