sergi Posted April 5, 2011 Report Share Posted April 5, 2011 my theme supports post-thumbnails. they work when i am adding a post. however, i don't have the option to add them when i'm creating a Custom Post Type. i've completed Ben Falk's Custom Post Types videos, but I'm using Coyier's Blank Theme, not twentyten. still, I have the array that should allow the thumbs to work in my register_post_types funtion, e.g., 'supports' => array('title', 'editor', 'thumbnail') Anyone have any suggestions? Thanks Sergi Quote Link to comment Share on other sites More sharing options...
falkencreative Posted April 5, 2011 Report Share Posted April 5, 2011 It isn't something simple like the post thumbnails just not being visible on the edit page, right? To check this: -- Create a new custom post -- in the upper right corner on the edit page, click on the "screen options" tab -- Check if there is a "Featured Image" checkbox? If it is there, I imagine that it won't be selected. Quote Link to comment Share on other sites More sharing options...
falkencreative Posted April 5, 2011 Report Share Posted April 5, 2011 Also, one other thing I thought of... In your functions.php file, when you add the add_theme_support() line for post thumbnails, you didn't specify a specific content type (posts/pages/a custom post type/etc), right? I believe that the line should be: add_theme_support('post-thumbnails'); rather than (or similar): add_theme_support( 'post-thumbnails', array( 'page' ) ); or you'll need to specify your custom post type within the array. Quote Link to comment Share on other sites More sharing options...
sergi Posted April 5, 2011 Author Report Share Posted April 5, 2011 Also, one other thing I thought of... In your functions.php file, when you add the add_theme_support() line for post thumbnails, you didn't specify a specific content type (posts/pages/a custom post type/etc), right? I believe that the line should be: add_theme_support('post-thumbnails'); rather than (or similar): add_theme_support( 'post-thumbnails', array( 'page' ) ); or you'll need to specify your custom post type within the array. yeah, this is what ended up working: add_theme_support( 'post-thumbnails', array( 'post', 'video', 'magazine' ) ); thanks! Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.