Change this:
// This theme uses post thumbnails
add_theme_support( 'post-thumbnails', array('post', 'page') );
To this:
// This theme uses post thumbnails
add_theme_support( 'post-thumbnails' );
The problem is that the array is explicit, when used. So, post-thumbnail support will only be added to post-types included in the array.
Omit the array, in order to add Theme support for post thumbnails universally.
Related Posts:
- How come Featured Image isn’t showing up in my Custom Post Type?
- add_image_size() for specific Post Types
- How to disable generation of default image sizes for some custom post types?
- Using add_theme_support inside a plugin
- Custom user role cannot see or modify featured image
- Make featured image required
- How to remove “featured image” functionality from a custom post type?
- set_post_thumbnail_size in percent, not pixels?
- Best way to filter featured image text for a custom post type?
- If featured image doesn’t exist, show post content
- set and unset the custom field value
- How I upload, save and set a featured image from my frontend?
- Trouble adding custom featured image for custom taxonomy TERMS
- How can i place Feature Image under title field in wp-admin?
- How to remove thumbnail sizes for specific post type on a child theme?
- Featured image metabox not showing up
- image srcset returns false
- How to use different featured image size for a custom post type?
- get_the_post_thumbnail() returning empty string on custom post type
- Change admin post thumbnail size for custom post type only
- How to add multiple featured image in meta box in post editor?
- How to List Thumbnails based on Custom Categories
- reference the current category being used in the category.php page
- add_image_size for post type
- Gutenberg Featured-Image-panel missing when user with custom role edits Custom Post Type
- Change post featured image on hover
- Show Post Thumbnail In Custom Post From Other CPT
- is there a way to retrieve posts that do not have a featured image assigned?
- get custom post type thumbnail
- Using global $post; to get featured image for custom post via WP_Query
- Displaying media for custom post type
- Custom Image Thumbnails of Different Sizes
- How to change post featured image using a custom field of category?
- Force documents to appear in Featured Image dialogue
- Change Featured Image / Thumbnail CMS Description
- Featured Images does not show in custom post type
- Loading custom post thumbnail into stream
- Is it possible to show full content of the post when there is only one post in a grid?
- How to set YouTube video as featured image?
- Link to full size post thumbnail
- Multiple featured sizes / images / excerpts
- How can i add thumbnails images to particular post (using code not admin pannel) in wordpress
- unable to show custom post type featured image
- How do you create a custom template to display a category with an image and related posts below?
- how to post default thumbnail if post not created yet
- get_the_post_thumbnail_url(‘full’) returns empty from custom post type
- Set featured image to archive.php
- Unable to set featured image
- Post-thumbnail only for specific post-types?
- Featured image size in column
- False Positive on has_post_thumbnail
- 3 random images from custom post type, each in a div with a diffrent class
- Custom post doesn’t show featured image
- Is it possible to add posts and images (auto resize) for custom post types with a script?
- Auto post creation
- Dynamic pages for linked categories and content
- Using Image Sizes for Custom Post Types outside the Loop
- link featured image to external link
- Cannot upload featured image to a custom post type
- Thumbnails Not Generating
- Add Permalink to Post Thumbnail, syntax code issues
- Need help with simple “if statement” checks to output particlular CPT data depending on what client uploads/fills out
- How to add Support to show Fullwidth Featured Image of Custom Post Types in WordPress.?
- i need to have a tab with gategory post
- Put featured image under post title in admin area
- How to add a default predefined thumbnail when creating a brand new post?
- Display featured images from custom post type in the homepage template
- why featured image option isn’t showing in custom post type?
- Add featured image programatically to custom post type
- retrieve custom post image through widget
- How To Loop Through list with Custom Post Types
- Thumbnails for custom post not showing up in query
- How to scroll through post thumbnails?
- Featured image in admin on custom post type
- Customized featured image doesn’t refresh in post admin metabox after upload/insert
- Specific Thumbnail Size for Custom Content Type
- Link to larger thumbnail in custom query (with custom post-types)
- Front end post or photo or both
- Delete old thumbnail when updating new
- set_post_thumbnail or media_sideload_image adds image multiple times in media library
- How to Create Grey Background for Product Images on Website Display but Retain White Background on Downloaded JPGs?
- How to force one column layout on custom post type edit page?
- How does one delete orphan custom post type?
- Custom Post Type by user
- show posts only on homepage but using custom post type and taxonomy for query posts via url
- Include taxonomy slug in url?
- Get a permalink structure of /%posttype%/%category%/%postname%
- Custom Post Type loops and Disqus
- How to load custom post archives sub-pages with ajax?
- A good strategy to print custom posts (offer) that are checked inside the metabox of a post?
- How to create a custom post type with additional fields?
- How to make custom posts types display when published for the future
- WP_Query of custom post type sorted by meta_key has unexpected results
- Add a custom post when inserting a new user in WordPress?
- How to display a specific post type name in a breadcrumb
- How to add page the same slug like custom post type?
- Forcing two or more custom post type to be private
- Dropwdown: Get taxonomy terms from posts that share preselected terms from 3 other taxonomies
- Help understanding custom post type and children
- Custom term link return 404 error