Worked it out! Since WP version 3.1 the hook for adding columns to custom post types has changed.
Before 3.1 it was:
add_action("manage_posts_custom_column", "testimonials_custom_columns");
After 3.1 you have to use this:
add_action("manage_testimonials_posts_custom_column", "testimonials_custom_columns");
So you have to specify the custom post type name in the manage_post_custom_column hook.
Hopefully this answer will save someone some time.
Related Posts:
- How to change permalink structure for custom post type and it’s taxonomies?
- Custom Post Type and Taxonomy URL rewrite
- 404 on child page when parent page slug is identical to custom post type
- Add Content to Page without shortcodes
- Custom post status and preview
- rewrite get parameter with custom post type
- Date archives for custom post type
- modify all posts of a category to “no comments allowed”
- How to get_queried_object on multiple objects?
- How to not allow custom roles to edit published custom post types?
- Allow Author role to publish one post type and not another
- custom taxonomy – Template not working
- Count number of posts which exist in 2 taxonomies?
- How can I add columns to custom post tables
- Query current and future events, ordered by begin date
- List Posts of a Custom Post Types Ordered by Terms of a Custom Taxonomy?
- Removing Duplicate Custom Taxonomy Terms from within a Dropdown Select?
- I am facing problem in my archive page , it is partially working
- Help splitting a custom post type archive into “past” and “upcoming”
- Make slug as ID Number for custom post types
- Remove duplicated values from a loop
- Count all comments of a custom post type
- Easy way to change custom post type name for permalinks?
- After adding add_role to functions.php and creating a user, can not login into admin
- Ordering posts in Search & taxonomy by post_meta
- Custom Taxonomy Navigation, with current menu items for children?
- Custom post type is showing custom home page, not archive page
- Only view/edit/delete CPT made by users with the same role
- WordPress Custom Post Type Permalinks dynamic term slugs
- WooCommerce sort products by the actual product width(not the shipping width)
- Retrieve custom field from Contact Form 7 [closed]
- Custom Post Slug same as Parents Category Slug
- Custom Post Type by Taxonomy
- How to define which register_post_status goes to which register_post_type?
- count results in search page based on custom category
- Assign Custom post to Custom Taxonomy
- Show post with thumbnails only
- How to add custom taxonomy in custom post type permalink?
- More quicktag driving me nuts
- Use remove_meta_box conditionally on custom post type
- create custom meta box with default value
- Create an archive page for custom post type with custom taxonomy
- Query custom post type based on post id and custom field value
- Custom Post Type page sorts differently on different environments
- Custom Taxonomy Search result page
- Changing slug of all posts
- Undefined $post in wp_query
- Pull in taxonomy field of custom post type in new query
- Apply template by path/slug related to custom post type?
- WP Query results showing posts outside of category ID
- How do I edit the WordPress post.php file?
- Posts are not rendering perfectly [closed]
- How to count other posts not having specific taxonomy terms?
- How do I disply an array inside a custom post type?
- Is there a way to group specific CPTs under a single dashboard menu item?
- Value of post meta dropdown is not showing in WordPress
- Looping through custom taxonomy and display custom post types (Custom Post Type UI)
- Order users by number of posts (includes custom post type)
- Under What Conditions Can I name my CPT the same as my CPT Page?
- Invalid file type when using wp_upload_bits to upload PDF to a custom post type
- custom post type capabilities – needs to be VERY secure
- set post_type based on custom taxonomy permalink
- Need help with Custom Post Types and Taxonomies
- How can I tell if I’m on a custom post type archive page?
- Can’t Get Parent and Child Categories of Custom Taxonomy to Display
- How to Enable Ascending or Descending In WordPress Default Built-in Loop
- Order posts by taxonomy terms
- See if the email exists or not
- How to associate custom taxonomy terms with custom post type?
- Is it possible to create 2 unique titles for an Events custom post type: Upcoming Events and Past Events?
- WP_Query not using custom taxonomy categories on custom post type
- How would i insert a value of custom field from Advaced Custom Field into shortcode generated by Gravity Forms [closed]
- Get Previous Post based on Custom Field Name, for Custom Post Type
- Display title of custom post type dynamically
- Imported posts for cpt are imported as scheduled, not published [SOLVED]
- Add specific route for Custom Post Type (add/edit…)
- Work and Display a Custom Post Type as a normal Post
- Custom Field to post_title
- Stripe multiple transactions
- Custom post type with two templates
- Post Custom & Taxonomy 404 error
- Get month and day from a Date Picker custom field
- Is it possible to add and display custom post types to an array?
- How to add a custom meta box below publish box in CPT that is like publish meta box and can contains html?
- Custom Post Type – Admin Columns
- How to loop custom post type posts by author?
- Timetable of Custom Meta Data using Custom Post Type and Custom Taxonomy
- Query shopp categories and CPT
- previous_posts_link returns null when querying custom post type
- Change the contents of a dropdown through the admin panel?
- How to scroll through post thumbnails?
- WordPress can only query up to 766
- CPT Archive with parent page
- fetch meta fields inside a widget
- Adding/Changing Functionality of Custom Post Type Main Admin Page
- Inserting two categories
- Use a Variable in update_post_meta as the $meta_key
- How to manage a bookstore
- How to set up a echo? [closed]
- Tracking Total Pageviews By Post Type In Google Analytics