magic-fields-team / Magic-Fields-2

Magic Fields 2.X
http://magicfields.org
GNU General Public License v2.0
124 stars 47 forks source link

Unable to use fields unless Custom Post Type is publicly accessible #47

Closed cmwelsh closed 8 years ago

cmwelsh commented 13 years ago

I have a custom post type that I'm using to create a quick custom list.

public function init() {
    register_post_type($this->postType,
        array(
            'labels' => array(
                'name' => __('Historic Championships'),
                'singular_name' => __( 'Historic Championships' )
            ),
            'public' => false,
            'show_ui' => true,
            'has_archive' => false,
            'supports' => array('title', 'page-attributes'),
        )
    );
}

I can't seem to add and edit Magic Fields on this post type unless I change public to true. Is this a bug, or intentional? I would appreciate some clarification on this behavior. Thanks. :)

hunk commented 8 years ago

I'm cleaning the issues if you still have this problem reopen the issue. thanks