try the register_post_type supports parameter:
'supports' => array( 'thumbnail' )
Related Posts:
- Post-thumbnail only for specific post-types?
- 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
- Can’t edit custom post type
- Set URL link to featured image of custom post type
- Change CPT archive title
- AJAX load more for different custom post type loops
- PHP variable not regenerating when publishing multiple posts at the same time
- On update or create post redirect to current post position in list
- I need to add endpoint for wordpress categories
- How to target a specific custom post type post and its all children and grandchildren?
- Featured image overlay when changing post status
- get_post_meta not working on publishing
- Redirect 404 page with ID in slug to associated page with same ID in slug
- WordPress wrapped added a span tag to every single p tag
- ACF field key/value to show on taxonomy list
- Re-registering a custom post type not working (not showing up)
- Display featured image from one CPT within another CPT query
- Query taxonomy of taxonomy of custom post type
- Best way to style first post differently?
- How to make custom posts types display when published for the future
- How to rewrite url for any specific taxonomy?
- create a new page from a custom post type similar to an authors page
- CPT archive admin menu label
- Anon function and add_meta_box
- Hide a widget inside a div on specific type of post
- Shortcode not working with post counter
- Changing default ‘posts’ parameters with register_post_type_args
- unable to show custom post type featured image
- Homepage’s content is dependent on the custom field values (set automatically), how do I get homepage to update without manually updating page?
- Cannot save CPT meta box
- Allow users to create posts without logging in?
- How to change permalink to include custom post type
- Configuring a meta query with multiple post types that have the same relationship on a single page
- Add term to custom post type on draft
- How to assign classes to all elements?
- next_/previous_post_link() `in_same_category` appears to fail when true
- Want to be able to sign up subscribers as authors
- How do you create a custom template to display a category with an image and related posts below?
- Load scripts based on post type
- Different Category system needed for the Custom Post Type
- Global custom meta box
- Redirect to another page using contact form 7? [closed]
- Template not working for the custom Post type
- Warning: Invalid argument supplied for foreach() [closed]
- Custom post type isn’t working
- Meta-Boxes for CustomPostType cause PHP Errors and Notices in “Add New” view
- how to post default thumbnail if post not created yet
- get_the_post_thumbnail_url(‘full’) returns empty from custom post type
- categories should be available across all custom post types
- Set featured image to archive.php
- Warning: Invalid argument supplied for foreach() in post.php [closed]
- Unable to set featured image
- Featured Image field not appearing in Custom post type
- custom post type metaboxes not saving
- Custom Post Type & Custom Menu Walker to append custom class for active post types
- Enable taxonomies by post type in an array of CPTs
- PHP question: how to combine syntax?
- Loop increase number
- custom post for slider
- Featured image size in column
- False Positive on has_post_thumbnail
- ACF in wordpress
- Change Slug of a Custom Post Type
- Excerpt function for any content
- Assign category a default post type
- Navigate posts with different post type that are in the same categories
- List of all entries of custom-post-type: Add year-parameter?
- Add an Outside Wrapper to my Header and Make it Full Width
- 3 random images from custom post type, each in a div with a diffrent class
- Page Template Dropdown For Custom Post Types
- Custom post doesn’t show featured image
- Showing custom post type categories in the menu
- How to use a variable as a function name?
- Is it possible to add posts and images (auto resize) for custom post types with a script?
- Show Custom Message in WordPress Admin
- How to inherit field value from parent post into in child / sub post
- How exclude or skip post type with get_next_post_link
- Prevent A Specific Custom Post Type Showing In WP Search Results Page
- Create short URL with auto 301 redirect
- Custom post type’s posts are not showing anywere but in xml sitemap
- Auto post creation
- providing access to post_id or post inside functions.php
- Removing full title and breadcrumb header container for a specific post type
- Is it possible to use array_walk() to append terms to an array of posts?
- WordPress notification if new post published
- Run shortcode in custom script in wp_head if post type is CPT ‘Jobs’
- Get current user id
- Show current user posts in custom post type query
- Dynamic pages for linked categories and content
- Custom Ratings for Theme, Proper way to Refactor Code and Clean up Template File
- Rewrite permalink for multiple post types (CPT) with taxonomy term
- Get post format
- posts within custom post type all share the same content in the front-end
- post_content is stripping HTML when adding a new post? [closed]
- Shortcode to return single custom post based on post taxonomy
- Using Image Sizes for Custom Post Types outside the Loop
- link featured image to external link
- Custom post type in Custom widget – $listItem