WordPress.org

Ready to get started?Download WordPress

Forums

[closed] How to create custom write panels per custom post type? (10 posts)

  1. Audax
    Member
    Posted 4 years ago #

    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?

  2. Audax
    Member
    Posted 4 years ago #

    Anyone?

  3. HeroicNate
    Member
    Posted 4 years ago #

    Custom post type UI plugin seems to work for that. Maybe you can glean from his code how it works.

  4. Audax
    Member
    Posted 4 years ago #

    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.

  5. HeroicNate
    Member
    Posted 4 years ago #

    http://codex.wordpress.org/Function_Reference/register_taxonomy

    http://codex.wordpress.org/Function_Reference/register_post_type

    I followed these and got it to work with custom write panels with unique taxonomies.

  6. Audax
    Member
    Posted 4 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...

  7. HeroicNate
    Member
    Posted 4 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.

  8. dronix
    Member
    Posted 4 years ago #

  9. Jack Barham
    Member
    Posted 3 years ago #

    Hey, did you ever get to the bottom of this as I am in the same situation myself ..?

  10. esmi
    Theme Diva & Forum Moderator
    Posted 3 years ago #

    Please post a new topic.

Topic Closed

This topic has been closed to new replies.

About this Topic