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?

2 Answers 2


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' );

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.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

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