You could edit the columns for your CPT like so:
function edit_cpt_columns($columns){
$columns = array(
'cb' => '<input type="checkbox" />',
'title' => __('Post')
);
return $columns;
}
add_filter('manage_edit-CPT_columns', 'edit_cpt_columns');
function manage_cpt_columns( $column, $post_id ) {
global $post;
switch( $column ) {
case 'title' :
$link = get_permalink($post->ID);
echo '<a href="'.$link'">'.$post->post_excerpt.'</a>';
break;
default :
break;
}
}
add_action( 'manage_CPT_posts_custom_column', 'manage_cpt_columns', 10, 2);
You would need to replace CPT
with the name of your custom post type.
The first function declares you columns while the 2nd function fills the columns with data.
Related Posts:
- Possible to hide Custom Post Type UI/Menu from specific User Roles?
- WordPress dashboard, viewing CPT results in 504
- Displaying Custom Post Types In “At A Glance” Meta Box
- Show Custom Taxonomy Inside Custom Menu
- Adding Custom Post Type Counts to the Dashboard
- How to Make an admin_notices Message That Disappears Once the User Leaves That Particular Page?
- How to Change the Title of a Meta Box on a Specified Custom Post Type? [duplicate]
- Adding help information to custom post edit page
- Display only custom post type count for current author on the “At a Glance” dashboard widget
- How can I show some description in the “All Posts” view of a custom post type in Dashboard?
- Add custom post types stats to a custom dashboard widget
- Sending an email when a CPT is saved/updated (NOT when it’s created)
- How to redirect wp-admin/index.php to a custom post type?
- Separate comment section for post type in dashboard
- right_now_content_table_end function not working?
- Customize the Dashboard Menu Editor
- filter custom post type by meta key in dashboard
- Team club with CPTs and user registration + user dashboard
- Cluster CPT posts to users based on ACF value from their profile on dashboard
- List Custom Post Types in Admin Dashboard
- Add data to post edit page, when post is published
- Adding link to dashboard sidebar, nested under custom post type
- allowing custom user role to access custom post type in wordpress admin
- Slow CPT in backend
- How can i redirect click to new admin page not to edit screen in post table
- Metabox collapsed by default
- Custom page for creating/editing custom post type
- Help Adding filter to Add Media button for custom post type
- Custom user roles
- Add role privileges of the custom post type
- creating different edit screens for different roles
- Change column of row action (Quick Edit) links in WP_List_Table
- Allow certain part of a page to be easily updated for client?
- How can I make a custom post type that loops pages in a new dashboard page, each single page is a new dashboard page (all within the back-end)?
- empty dashboard for custom role
- How to exclude a certain CPT from a snippet for Dashboard box?
- Set a hard-coded page-template (post-type-archive) as home/front-page of my wordpress blog?
- How To Get Custom Post Type Category Title
- populate array with posts
- Displaying tags associated with posts in Custom Post Type
- Display custom posts randomly in custom taxonomy archive
- Using custom post type as taxonomy
- Transferring data to the end of a transaction with the Shopp Plugin
- Listing custom post types on archive page with array
- get_pagination not working on a custom post type query (using WP_Query)
- Show Posts to Author Only
- How to Make infinite loop of post
- Get custom post type categories to show up in menus
- WP_Query parameter conflict
- Create a comments template for custom post types
- Is it possible to add posts and images (auto resize) for custom post types with a script?
- wysiwyg editor don´t export paragraph
- Add custom attributes to a post
- Custom Type add Transitions
- How to make a meta box?
- Retrieving meta-box from a custom-post-type
- Cannot save Custom Post Type meta data
- Custom taxonomy page returns 404
- Custom post type permalink sends to 404.php
- Running a wordpress action when a custom post type term (taxonomy category) is changed
- Custom post types with categories in template
- portfolio custom type tags support
- Custom Post Type conflicting with page?
- How to check if post/page or taxonomy post is published by admin
- How can I create an automatic drop down menu with my tags?
- Custom database table question
- previous_post_link in same taxonomy in custom post type
- Getting all ID’s matching a title in a custom post type
- show current item in custom menu, when inside a custom post type
- How do I get the custom category URL from the custom post type?
- Associate all Custom Post Types with Taxonomy
- current-menu-item not added on page showing custom post type (rendered with archive template)
- How to define a term for custom taxonomy
- Saving fields in a drop-down in WordPress
- How to move a post to different post type with all meta data?
- Custom taxonomy or custom page templates?
- Make (custom) post type accessible only by custom query
- Assign post type to many users
- Custom taxonomies to define versions of a product
- WP_Query with custom post type ID
- why is the current page title being output?
- Adding guestbook to my wordpress site
- Meta box values not displaying in Post Edit Screen after save
- Exclude posts with custom taxonomy
- Forms and WordPress Nonce
- Invalid Taxonomy
- List custom taxonomy as navigation – taxonomy pages with all it’s posts?
- How can I set a meta value that will then affect other post meta values?
- How to select a template for a custom post type?
- Show Custom Message in WordPress Admin
- get_posts seems to be skipping the last Post
- Saving data for different custom posts
- Dynamically insert an article at the top of a taxonomy archive – or?
- Getting a custom post’s custom field based on another custom post’s custom field select
- Why do I have to press the “Update” button twice to save my meta box values?
- Count custom post type based on two meta data
- TinyMCE Buttons on Certain Post Type
- Merge page with custom post type
- Need help deciding on a taxonomy
- Inserting custom fields into single.php