Abland
|
Hi, Don and Ralph,
Let's say the custom post type is "My Posts". What's needed is the slug for that type. In the WP admin, if you click on the post type the slug will be in the end of the address bar:
?post_type=my-posts
In your theme's "library/admins.php" find approximately line 142:
function theme_add_meta_boxes() {
You need to create new "add_meta_box("
Copy a Theme Options and a Page Header Image - does not matter which:
add_meta_box( 'theme_meta_box',
__('Theme Options', THEME_NS),
'theme_print_post_meta_box',
'post',
'side',
'low'
);
add_meta_box( 'theme_header_image_meta_box',
__('Page Header Image', THEME_NS),
'theme_print_page_header_image_meta_box',
'page',
'side',
'low'
);
Paste back into the function, and change the slug from page or post to your custom post slug:
add_meta_box( 'theme_meta_box',
__('Theme Options', THEME_NS),
'theme_print_post_meta_box',
'my-posts',
'side',
'low'
);
add_meta_box( 'theme_header_image_meta_box',
__('Page Header Image', THEME_NS),
'theme_print_page_header_image_meta_box',
'my-postes',
'side',
'low'
);
|