You’re missing a couple of things
- hook for registering custom column is
manage_edit-{$post_type}_columns
thus you have to usemanage_edit-Featured_columns
on line one (instead of yours manage_Featured_columns ). - hook for getting custom column content is
manage_{$post_type}_posts_custom_column
thus you should use this code in second add_action call:manage_Featured_posts_custom_column
- You have to add define columns which are about to appear in edit_Featured_columns function (first add_action call).
This way:
function edit_Featured_columns( $columns ) {
return array(
'cb' => '<input type="checkbox" />',
'title' => __( 'Title' ),
'redirect_url' => __( 'Redirect url' ),
'date' => __( 'Date' )
);
}
That’s all. Your custom_Featured_columns function seems to be ok.
Here’s a good tutorial on this topic: http://justintadlock.com/archives/2011/06/27/custom-columns-for-custom-post-types
Related Posts:
- Is there a way to get N number of WYSIWYG editors in a custom post type?
- Change “Enter Title Here” help text on a custom post type
- Getting the IDs of a custom post type
- Multiple custom post types under one admin menu
- CPT Template Not Showing – Getting 404
- How to throw error to user when saving post
- Display text if current user has written 1 or more posts in a custom post type
- Pull Two Posts Into Custom Post Type `single-cpt.php`
- Count post that have specific meta value
- Remove date and category filters when editing custom post types
- Display all custom post types in archives.php
- Compare 3 custom fields and sort by oldest
- How to select one major category (or custom taxonomy) for a custom post type?
- Custom taxonomy & post slug permalink
- how to use two permalinks for one custom post type
- Adding capabilities to default roles
- How to add page attribute “Template” to custom post
- Child and grandchild taxonomy listings – 404
- Filters post in admin with dropdown select, custom post type
- Custom Permalink Tag breaks Pagination
- Display posts if a custom field value is equal to another custom field value
- Add the current menu item CSS class to a custom page type archive in WordPress menu
- Remove default post types on all sites except primary blog. WPMU
- Relationship between two taxonomies and a custom post type [closed]
- Why is archive.php used for my page
- next_post_link on custom taxonomy
- Why is my Custom Post Type not showing up after adding capabilities?
- Create Template for Custom Post Type same like for Page
- Return the thumbnail meta data for getter and setter
- Page vs Custom Post Types Differences/Issues
- WordPress custom post – add dynamically meta boxes
- Custom page sidebar using Template dropdown box
- Having unique constraints for custom fields in a custom post type
- Make parts of your wordpress website completely built with data from external APIs?
- How do I add a custom screen for a custom post type to be called from custom post row action?
- Custom post type suppress transition from future to publish
- Add Custom Post type menu to another menu in specific location
- Filter hierarchical custom post type admin page by parent, and include children & grandchildren
- How to list custom taxonomies in the back end
- Limit Search to Post Type With Apostrophe return search not found
- Specific routing for CPT
- Top Level pages in wordpress giving 404, but child pages working fine
- Add a custom text to admin footer in a Custom Post Type page
- Get only used meta_values
- Trying to Create a PHP Variable for post_type that can be referenced Site Wide
- Custom Rewrite Rule for Custom Post Type with URL Param
- Displaying a Custom post type per day
- Setting Post Title via Meta Data returns Auto-draft
- Not sure why this template for custom post type posts isn’t displaying anything. What’s missing?
- Plugin or method of allowing user to rearrange custom post types with drag and drop?
- I want to know if i can add two different custom post types to my wordpress site
- Run shortcode in custom script in wp_head if post type is CPT ‘Jobs’
- Custom permalink not working and showing 404 page not error
- Query entries from custom post type in an ACF flexible content field
- Custom Post Type (CustomPress) [closed]
- Direct form to a custom page template
- How to create a template to show child terms of a MAIN taxonomy
- How to copy a custom field from the user’s CPT to the user’s normal posts
- How do I add new post formats to twenty fourteen theme?
- Problem On Retrieving Post Meta Data on Custom Column [closed]
- Shortcode is displaying the wrong post_title
- Enable comments for post when comments meta box removed
- Custom Post Type page template doesn’t show up
- Is there a (preferable built-in) way to check what custom queries are used in a theme?
- CPT : Next or Previous term link when has not adjacent post
- Admin Posts Table Filter
- Custom taxonomy, post type, and URL permalink structure
- Order custom post type by taxonomy
- How to specify user ID for a CPT wp_insert_post when there’s no actual user (it’s programmatic)
- Added new role with custom capability. But cannot access the page
- Permalink for specific post type
- Problem in moving cpt’s from local website to live website
- custom post type single page not found after aotumatic publish By the author’s robot
- Permalink for custom post type pages not working
- Query for a custom post taxonomy
- Update Cateogory Taxonomy Count for Attachment Post Type
- Multiple domains, Single database, 1 Parent/Master with all content, other domains/slaves with filtered content (based on “location” variable)
- Creating connections programmatically with common fields on CPT’s
- create wordpress user on custom post type publish
- Trying to modify custom search function in plugin to search postmeta table for keyword as well as posts table
- Customising the admin columns for a custom post type, but now most of the built in categories don’t display?
- How to get Last post Id of custom post type in wordpress
- Attach a custom post type archive to a static page
- Querying multiple taxonomies in URL leads to wrong taxonomy archive
- Custom post type child page 404
- Sort by Custom Post Type (Multiple Loop)
- Costum post type with costum (sub)taxonomy
- Display a post count from a custom metabox selection
- WordPress Custom Permalink Structure with Custom Post Type and Taxonomies
- Tags results not displaying for post types
- Make future posts visible to the public—not just within WP_Query
- Custom taxonomy archive page not routing?
- 2 language CPT content
- Count of posts with meta_key filled in?
- Are custom posts included when getting a categories’ posts?
- How to get lowest price from custom fields of posts
- 404 Error On Custom Taxonomy Pages 2, 3, etc
- Two pagination in one page without AJAX
- I want to show a list of post with title that have link goes to that post and icon under the specific category to which it belongs
- Show a wordpress custom post condtionally using a category term