I have built a custom post type called article and the information given on the admin summary screen is sparse. I was able to add the featured image post thumbnail image using the http://codex.wordpress.org/Plugin_API/Action_Reference/manage_posts_custom_column from a tutorial.
However I would like to be able to get an overview of the categories and sub categories that these posts have had assigned to them on the admin page. ie adding a column for that part?
Here is the code that I have used to register the taxonomy in the custom post types code
The register_taxonomy function has a parameter called
show_admin_column
that will handle adding a column. Have you tried that?eg:
After some searching, I have found a solution using the
manage_edit-${post_type}_columns
filter and themanage_${post_type}_posts_custom_column
action.The columns are created with the filter and then the column is populated with the action. I assume additional columns could be added and populated quite easily using the ideas in this link http://justintadlock.com/archives/2011/06/27/custom-columns-for-custom-post-types
Nearly the same question:
i want a extra column “categorie” in the admin screen.
“categorie” is a taxonomy made with Divi Machine. The slug is art_category
In my child theme functions.php i managed to make ACF fields visible, even sortable but those are ACF fields.
The column Categorie is visible. However there are no values.
It must be in here somewhere: