I would look into adding a custom post column for that post type which shows the image you’d like to.
See this link.
edit: here’s a working example.
function add_column_header_298736( $defaults ) {
$defaults[ 'image' ] = 'Image';
return $defaults;
}
add_filter( 'manage_results_posts_columns', 'add_column_header_298736', 20 );
function add_column_content_298736( $column_name, $post_id ) {
if ( $column_name == 'image' ) {
// do stuff to retrieve your image
}
}
add_action( 'manage_{your_post_type}_posts_custom_column', 'add_column_content_298736', 20, 2 );
Related Posts:
- How do I filter the excerpt metabox description in admin?
- Restrict categories to a custom post type
- How do I add a custom button to my “edit” list? ( edit.php?post_type= ) beside “Add New”
- How to customize admin posts based on the user who is logged in
- How to export custom post type with ACF to individual file with automation?
- How to display author details in a custom post type in the wordpress backend?
- Custom Post Type and Structure Question
- Adding specific custom fields (images) to post excerpt
- save_post affect creation and deletion
- Advanced Custom Fields – Add Field to Specific Page [closed]
- Collection of fields in a single post
- Custom post type adding additional markup
- How to display Custom Post Type Post based on Tag with Shortcode Parameter?
- Multiple ACF Repeaters within a Custom Post Type
- How to change post featured image using a custom field of category?
- Admin not showing all custom post type posts and views not working
- How to avoid manage posts screen duplicates when two plugins use the same library
- Group posts by custom post type
- Validate custom fields before save using WordPress Rest API
- get_posts of Custom Post Type AND Custom Taxonomy
- Unable to retrieve any posts of CPT in wp-admin
- Custom Page that comes with preloaded content for the user
- Featured Images does not show in custom post type
- How to: Display ACF [fields] on Custom Post Types Utilising WordPress ‘Hooks’? [closed]
- Display post meta on edit page in admin
- How inefficient is it to use a Custom Post for 4-5 sentences & pull all to 1 page?
- How to move image thumbnails into custom folder for custom post type
- Modify action buttons for custom post type
- Custom fields vs. Custom post types for a Portfolio Website
- How to check post type (to include custom css)
- How to customize a permalink (URL) structure?
- Retrieve value of a category’s custom field
- Plugin: register custom post types, child ready and performance best practices
- Display only one post each WEEK
- How can I dynamically add a post to a custom post type which uses a custom field?
- Problem with WordPress query on page using custom fields
- How to Mass Delete Images from Media Library
- Admin Pointers on a custom post type
- the_content() not outputting anything (Advanced Custom Fields)
- Permalink structure by Post Meta value
- Add a button or image button that calls wp functions in the wp-admin
- How to integrate video slide using custom post types?
- Selecting a post in Dashboard
- Custom Post List View: Page or something else?
- Custom admin post.php page
- Custom Post Type And “fopen”
- A question on creating filters for custom posts using taxonomy
- Conditional Query of Custom Post Type and custom taxonomy
- will post_id ever change? Can I safely use post_id for custom queries?
- List custom taxonomy specific to one custom post type
- Define new user capability for custom post types?
- Custom Taxonomy back-end customizations
- How to allow visitors to enter custom post type?
- Is it possible to create relational metabox values in a custom post?
- Custom Post Type Query for Sidebar Doesn’t Work on Front Page
- How to add a custom-post-type post within another custom-post-type post edit screen using AJAX?
- Meta query for custom post type ignored in main query
- How to add a post slug to a url?
- Add custom ID to CPT posts only create not update
- Custom Taxonomy terms aren’t getting referenced or saved in Quick Edit or Bulk Edit, only on Single product page?
- WP_Query to select custom post type with Advanced Custom Fields (ACF) date
- 2 Templates 1 custom post type according url
- How do I move/order posts with a tag to the end?
- changing meta value and meta key of price field
- Bulk Update Custom Fields for Custom Post Types
- ACF Field on CPT Slug
- WordPress sort search results by custom order
- WP_Query order by custom field, then randomly order some of results
- Cluster CPT posts to users based on ACF value from their profile on dashboard
- Use same slug base for Custom Post Type posts, and multiple taxonomy terms
- ACF Values Don’t Show After Import Unless I Edit/Update Post
- Hide parent categories when clicked, and show it’s childs
- Custom Path/Folder behind a custom post type
- Filter term taxonomy metabox in custom post type
- Time based access control of custom post types – what is good approach?
- Troubles with acf/save_post and WP_Query
- Query custom post type with ACF Date
- custom post type WYSIWG removes paragraphs when displayed
- Stuck in Order by more then one
- Custom Post Type + ACF and performance [closed]
- Show titles, date of all posts on single category page
- CPT post count is 0 for the authors in the User list
- Meta Query Not Returning Output Despite Having Matching Values
- Addition of custom option panel crashes Media Library & Admin Area
- delete_published_posts does not work
- How to start a new post with custom Taxonomies already set?
- ACF From & To Date Validations
- WooCommerce sort products by the actual product width(not the shipping width)
- Using advanced custom fields from one custom post type in another custom post type / using nested shortcodes
- How to render a custom post type template with custom fields using shortcode
- Create a custom php page and load it at a specific slug
- Structure of data : CPT + terms
- Exclude objects from WordPress API based from ACF field using rest_prepare_{$post_type}
- Tracking changes in admin-page so user gets warning when leaving the page
- How to handle paged param in post and custom-post-type?
- CPT archive admin menu label
- Rewrite Rule for showing Parent/Child Relationship between Two Hierarchical Custom Post Types
- Possibilities for the edit.php admin panel? [closed]
- Default text in a specific post type, but not visible?
- Update postmeta Parent when post_status child change