• Resolved HeroicNate

    (@heroicnate)


    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)
  • Thread Starter HeroicNate

    (@heroicnate)

    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'
    	)
    	// ...
    );
    Thread Starter HeroicNate

    (@heroicnate)

    that doesn’t work.

    Thread Starter HeroicNate

    (@heroicnate)

    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');
    Thread Starter HeroicNate

    (@heroicnate)

    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?

    Thread Starter HeroicNate

    (@heroicnate)

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

    Thread Starter HeroicNate

    (@heroicnate)

    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 ‘Thumbnail menu not appearing on custom post types’ is closed to new replies.