add_action('admin_head-edit.php', function(){
add_filter('the_title', function( $title, $id ) {
return $title . the_post_thumbnail( 'thumbnail' );
}, 100, 2);
});
Will produce 2 images because there are two titles on custom posts, apparently. One that is hidden and one that isn’t. Adding the image markup to the hidden element will break the CSS that hides it. So the solution is to insert admin-css that hides it.
.column-title .hidden ~ img{
display: none;
}
Related Posts:
- Best way to filter featured image text for a custom post type?
- How come Featured Image isn’t showing up in my Custom Post Type?
- Change the text on the Publish button
- Placing a Custom Post Type Menu Above the Posts Menu Using menu_position?
- Row actions for custom post types?
- add_image_size() for specific Post Types
- Loading External Scripts in Admin but ONLY for a Specific Post Type?
- Register CPTs using Dashicons for admin menu icon in WP 3.8
- How can I remove the “Add New” button in my custom post type?
- How to disable generation of default image sizes for some custom post types?
- Remove “posts” from admin but show a custom post
- 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?
- Add content in custom post type page after the title and before columns
- Change the edit page for a custom post type?
- Featured Image Panel Missing From Custom Post Type in WordPress 3.2
- How to check if I’m on a custom post type archive in the admin area
- Admin Filter – Add Post Type Description on Post Type Page
- how to group custom post types
- How do I filter the excerpt metabox description in admin?
- set_post_thumbnail_size in percent, not pixels?
- How to add custom columns to Custom Post Type admin screen
- Is it OK to move admin menu items?
- Hide/Show only specific categories in wp-admin new-post.php
- WordPress Custom Post Type Admin Page really slow
- Add content before/after admin post wp-list-table
- Custom post type Admin Page
- Post slug changed using code doesn’t reflect on editor when post is published
- Filtering Posts by Multiple Taxonomy Terms such as in an Admin Post Listing?
- WP Admin default view mode for Custom Post Type
- If featured image doesn’t exist, show post content
- Remove date and category filters when editing custom post types
- Ordering Post 2 Post admin meta box by meta from CPT
- Custom Metabox with Taxonomy Dropdown – Saving Issue
- how to create my own edit.php admin page code or template for my custom post type
- set and unset the custom field value
- Displaying Post Title on Post Edit page?
- How I upload, save and set a featured image from my frontend?
- Backend search; include CPT meta?
- How to programatically set the post title of a CPT on wp-admin
- Trouble adding custom featured image for custom taxonomy TERMS
- How to Change the Title of a Meta Box on a Specified Custom Post Type? [duplicate]
- Make a custom column sortable, by custom post count
- Sort custom post types by last name in the backend
- How can i place Feature Image under title field in wp-admin?
- Using multiple instances of wp_editor in Custom Post Type admin area
- How to remove thumbnail sizes for specific post type on a child theme?
- Featured image metabox not showing up
- image srcset returns false
- How i add new link after Edit | Quick Edit | Trash | View in quick edit section
- Custom Post Type Name Causing Problem
- How to use different featured image size for a custom post type?
- How to add post_author column to custom post type
- Use a textarea for a custom post type
- get_the_post_thumbnail() returning empty string on custom post type
- Restrict categories to a custom post type
- Change admin post thumbnail size for custom post type only
- Changing the header on post listing page in admin area
- How do I add a custom button to my “edit” list? ( edit.php?post_type= ) beside “Add New”
- How to add multiple featured image in meta box in post editor?
- WordPress User Roles, Custom Post Types, and Admin views
- Add text to post list/edit screens?
- Adding menu_order to CPT admin page
- Remove “Get Shortlink” button in admin of custom post type
- Need functionality with all post list available at edit.php
- Show hierarchical relationship between to custom post types on admin list
- Show Custom Post Type values in WordPress grid view
- 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
- How to make in WordPress admin panel sortable column for the custom field, that count the number of page impressions?
- WP-Admin edit.php & post.php slowdown after import of 10k users
- How to remove ‘create new post’ entry for a custom post type?
- How to make post sticky in the admin page?
- How to customize admin posts based on the user who is logged in
- Change post featured image on hover
- Get all of user’s custom post types in WP Admin for plugin
- Change headers in admin posts list
- 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
- Admin notice not displaying
- Custom Post Type + 20k posts = blank/404 within Admin edit.php [duplicate]
- Using global $post; to get featured image for custom post via WP_Query
- Displaying media for custom post type
- How do increase the amount of links shown down the left in the admin menu?
- submenu item edit a specific post
- Remove rows in the manage post/page view
- 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
- 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
- Change Featured Image / Thumbnail CMS Description
- Unable to retrieve any posts of CPT in wp-admin
- Featured Images does not show in custom post type
- Display post meta on edit page in admin