WordPress Development Stack Exchange is a question and answer site for WordPress developers and administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I have this in my functions.php

add_theme_support( 'post-thumbnails' );

This means all my post-types (normal posts and custom-post-types) have post-thumbnails enabled.

Is it possible to just enable them inside a custom-post-type and not on normal posts?

share|improve this question
up vote 3 down vote accepted

Use remove_post_type_support to disable features for specific post types.

add_action( 'init', 'wpa63635_init' );
function wpa63635_init() {
    remove_post_type_support( 'post', 'thumbnail' );
share|improve this answer

If you specify a "supports" argument when registering the Custom Post type, you can leave out "thumbnail" which will disable it for that post-type.

See the Codex entry for register_post_type and look at the 'supports' argument.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.