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 can I remove the “Add New” button in my custom post type?
- Why are the comments disabled by default on my custom_post_types?
- Linking Two Post Types
- Custom Post Types on Category Pages
- Setting up custom post type archives in WP3.1? Any luck?
- Best Way to Create a List of Musician Gigs in WordPress
- Is it OK to move admin menu items?
- WordPress Custom Post Type Admin Page really slow
- Filter a custom field based on selection of another custom field (ACF) [closed]
- Post slug changed using code doesn’t reflect on editor when post is published
- TV Show database – Best way for structuring it?
- Remove date and category filters when editing custom post types
- Why is the »_builtin« parameter not advised in »register_post_type()« for custom post types?
- Retrieve a specific field from taxonomy term through advanced custom fields [closed]
- Query posts by custom post type and custom taxonomy
- Custom Post Type Name Causing Problem
- Get the post children count of a post
- Display posts if a custom field value is equal to another custom field value
- Need functionality with all post list available at edit.php
- Sub-Sub-Blogs — creating and importing content into a custom sub-type
- removing custom tax & CPT slug, adding taxonomy term in front of custom type
- How to remove ‘create new post’ entry for a custom post type?
- Show Two custom Post type and their posts on category page
- Custom post type and body_class: Remove “blog” class
- Setting posts per page in query_posts
- How to insert content from another Custom Post type into Post?
- Custom Post Type + 20k posts = blank/404 within Admin edit.php [duplicate]
- Rewrite WordPress URL to show CPT meta field data
- Is there a way to have the view link on manage posts page to open in a new window or tab?
- How to Mass Delete Images from Media Library
- List custom taxonomy specific to one custom post type
- Hide parent categories when clicked, and show it’s childs
- Filter hierarchical custom post type admin page by parent, and include children & grandchildren
- Custom Postype specific changes in admin panel
- Custom Post Types vs. Advanced Custom Fields (with Repeater Field add-on)
- Specific routing for CPT
- Best structure / rewrite rules to achieve the following url
- How To Import CPT With Only Few TEXT ACF Fields From Front End?
- Add a custom text to admin footer in a Custom Post Type page
- 404 Error on form submission within custom post type
- Remove Quick edit for custom post type?
- Set thumbnail and title for a post type archive (not post itself!)
- List of users that clicked a ‘Join’ button at single post
- Conflict between wp_list_pages and get_posts – list pages not displaying
- set_query_params using custom params defined in functions file?
- How to define the template for custom posts?
- Query entries from custom post type in an ACF flexible content field
- Different videos for different posts
- Add Class according to the order of appearance
- Limit search field to just search a custom post type with custom fields
- Post visibility option to theme front-end for author to select?
- Custom field with Types: get custom field’s value label (of type select)
- Custom taxonomy not saving correctly
- Is there a (preferable built-in) way to check what custom queries are used in a theme?
- Can I get an auto-populated dropdown list of other custom posts in a custom post edit page?
- Show posts associated with ACF post object and custom post type
- Hide title field of selected post-types on edit pages
- Create if else for post types in WP_Query ‘post__in’ values
- CPT email notification including only new value custom fields
- Admin Post Table – Remove Title Edit Link
- WordPress next post by ajax call on button click
- Remove plugin settings from post creation page for a user role
- How can I fetch all the dates from custom fields from various different custom post types and show / list them at one place in ascending order?
- Save_post acf data not updating category of post type
- Display Specific Posts at Start of Loop
- How to display custom post type pagination buttons when processing AJAX request
- filter using custom fields
- My post loop needs to have 8 different post templates
- Simple Data picker meta box
- Use output of wp_dropdown_categories($args)
- WordPress deletes custom posts instead of trash them
- Custom post meta box as a sub form
- Values show up in custom home page but not in custom post pages
- Permanent Custom Post Type
- Display related post content and custom field content
- Add filter button to custom post type in admin area
- “Trash”, “Draft” and count not showing for custom post type in admin panel
- How to load custom post type plugin after acf options page (or get settings from there another way)?
- $post breaking container loop
- Display all post types together
- Show posts of parent in edit.php
- How to add custom column to Custom post page list?
- using a template for more then 1 page
- Retrieve a post with its ACF repeater fields in wordpress
- show posts under custom post type with same autj
- Two custom post type relations
- Change CPT Edit Target Link for Admin List
- selecting custom post types and taxonomies for hub page listing blocks