I have several custom post types that I have set up custom columns for in the admin edit pages. All work fine except one value (artist name in the Artist column) is repeated many times. The ‘artist’ column is used on all of my custom post type admin edit pages.
case "artist": $terms = wp_get_post_terms($post->ID,'artist'); echo $terms->name; break;
to get the artist name in each of my custom post types.
I don’t understand why the same artist name is getting repeated?
- The topic ‘Custom Columns in custom post type edit page’ is closed to new replies.