WordPress.org

Support

Support » Alpha/Beta » [Resolved] Thumbnail menu not appearing on custom post types

[Resolved] Thumbnail menu not appearing on custom post types

  • I’m setting up custom post types, and even though I have ‘post-thumbnails’ under support, the thumbnail menu box does not appear.

    and yes I have thumbnails enabled in functions.

Viewing 10 replies - 1 through 10 (of 10 total)
  • any help?

    Instead of ‘post-thumbnails’, use ‘thumbnail’ in the ‘supports’ parameter and it should be working:

    $args = array(
    	// ...
    	'supports' => array(
    		'title',
    		'author',
    		'excerpt',
    		'editor',
    		'thumbnail',
    		'revisions'
    	)
    	// ...
    );

    that doesn’t work.

    i’ve tried thumbnail, thumbnails, post-thumbnail, and post-thumbnails. none seem to work.

    Is the thumbnail feature working on the default post page?

    Maybe the code to enable the post-thumbnail feature in your functions.php has a typo?

    add_theme_support('post-thumbnails');

    that line is there, and there isn’t a typo as everything else that I have as supported is working. Are you telling me that when you create custom post types, the write panel for those types has the featured thumbnail in it?

    right now the featured image box only shows up for the regular posts.

    i found my problem. I had to add the custom post type to the array besides just posts. So I needed : add_theme_support( ‘post-thumbnails’, array( ‘post’, ‘custom-type’ ) );

    @heroicnate, I’ve tried your example and can’t seem to get it to work. I’m beginning to wonder if it’s an issue with BuddyPress or a plugin I have installed. I can get Post Thumbnails to work fine on Pages & Posts. No dice on my custom post types.

    Disregard. My issues ended up being related to the BuddyPress Classifieds plugin. Killing it fixed my issues. 🙂

Viewing 10 replies - 1 through 10 (of 10 total)
  • The topic ‘[Resolved] Thumbnail menu not appearing on custom post types’ is closed to new replies.