Monday, 26 August 2013

WP Alchemy Meta Box for Custom Post Type

WP Alchemy Meta Box for Custom Post Type

I'm using the WP Alchemy Metabox class to create two meta boxes. One meta
box is used on posts, pages and my custom post type, via_fest. This meta
box is showing up fine on all 3 of the post types.
The second meta box is just supposed to show up on the custom post type,
via_fest. I'm using the types option when creating the metabox to set
which post types I want it to show up on. For some reason the second
metabox doesn't show up on the edit/add screen for the custom post type
when I pass via_fest in the types option. However, if I add post to the
types option, the second meta box will show up on the post and via_fest
add/edit screens.
My code is on gist

No comments:

Post a Comment