"Use as featured image" missing from add media dialog
-
I’m trying to add featured images to forums. I have successfully filtered the register_post_type call like so;
/** * Add thumbnails to forums */ function ys_forum_featured_images( $post_type ) { $post_type['supports'][] = 'thumbnail'; return $post_type; } add_filter( 'bbp_register_forum_post_type', 'ys_forum_featured_images' );
That did not, however add the meta box to the post edit page so I further used the following;
/** * Add featured image meta box */ function ys_bbp_featured_images(){ add_meta_box('postimagediv', __('Featured Image'), 'post_thumbnail_meta_box', 'forum', 'side', 'low'); } add_action('add_meta_boxes', 'ys_bbp_featured_images', 100);
The meta box then appears but in the image details I see the “Insert into post” button and “Delete” link but no “Use as featured image” link.
Any idea how I get that added?
The only thing I could find were these tickets talking about the link appearing when it shouldn’t:
http://bbpress.trac.wordpress.org/ticket/1633
http://core.trac.wordpress.org/ticket/18669
- You must be logged in to reply to this topic.