Meta Boxes on different post types
-
Hi,
I am using the meta-box plugin, I want different meta boxes on both ‘posts’ and a new ‘custom-post-type’, but is seems I cannot do both, it will only do the last call, I have switched to order and the last call only will have meta boxes!.In one function for normal posts I have
$meta_boxes[] = array( 'id' => $prefix. 'general', 'title' => 'Defaults', 'pages' => array( 'post'),In another function for custom posts I have
$meta_boxes[] = array( 'id' => $prefix. 'general', 'title' => 'Defaults', 'pages' => array( 'custom-post-name'),I do not want to bundle the plugin’s code inside my plugin, I am trying to do it so when the plugin is updated the users will be able to use the auto update.
Regards
David
The topic ‘Meta Boxes on different post types’ is closed to new replies.