It is very hard to test/debug this kind of question since it is dependent upon a lot of code but it looks to me like you just need to break apart your comma separated list, get the category data, and print the names. get_categories()
and wp_list_pluck()
should make that pretty easy.
//Display category column
function column_post_category($item) {
$c = get_categories(array('include' => $item['post_category']));
$c = wp_list_pluck($c,'name');
$c = implode(', ',$c);
return $c;
}
Related Posts:
- How can I make wp_list_categories output li with category-slug as class, for its children?
- How can i remove the posts category class names from body_class
- How to get category names in post_class?
- post_class remove tag- or category- from slug
- Ajax Category add doesn’t update the list table custom column
- Different styles for categories – need to edit a plugin
- Get all categories and posts in those categories
- How to display non-hierarchical taxonomy as terms with checkboxes?
- Combine two taxonomies in a hierarchical tree
- Test if post has a category
- Make parent categories not selectable
- Reflect nested categories in appearance > menus
- I want to order categories based upon the latest post time
- How to find all posts without category and assign the “Uncategorized”?
- How to Override default update_count_callback for category
- WordPress previous_post_link exclude posts with multiple categories
- Is it possible to put tags and category information in the post as text?
- Order Taxonomy Term by date created
- Let visitors post comments on category page
- category_description() shows raw html after version 3.x?
- Is it possible to post with Word 2007 via XML-RPC and limit categories by user?
- how to get the categories for a single post in a hierarchical way
- Make parent category not selectable when it has child categories
- Can I use get_adjacent_post for specific categories?
- How to Filter categories in the permalink structure
- Accessing WordPress MySQL Database via Data Connection in Visual Studio 2010 using C#
- Is there a cleaner way to get post count for a category in category.php?
- products nested by subcategories in a current category archive
- get_the_category() always returns empty array
- Post count for category and tag
- Get current_parent_category in a loop or Cat ancestor- big problem
- Show number of articles in menu
- Can you pre-check wordpress categories?
- If posts category is “cars”, display image
- Is having thousands of unique categories a concern?
- How to prevent parent being choosen in wp_dropdown_categories
- query in category.php repeats itself
- Remove product category placeholder image (Woocomerce)
- How to “group” (categorize) the Pages together?
- How to build a simple nav system of custom post type categories and its posts?
- Style category link depending on category ID
- Custom Walker for wp_list_categories
- How to insert category list into post creation page, and retrieve chosen categories?
- Shortcode interpreted as text
- Output category color option to each li item
- How do I display only two categories Instead of displaying all categories
- Hooking to walker_nav_menu_start_el to insert list of subpages
- scaleability of tags
- Having problems with paging
- How do I add a tag slug to a category URL to filter posts?
- Dropdown menu for subcategories
- Adding custom ID field to the categories
- Getting Category Children
- Child Category Conditional Question
- Getting the first parent of a hierarchical term
- Break down output of wp_list_categories
- why category__and and category__in wont work togather?
- Advanced permalinks structure
- Subcategory Page URL to Display Only Posts from that Subcategory?
- Setting the Primary Category for a Post Based on Context
- Show the number of the post
- Automatically adding tags and categories into Post Excerpt for searching
- Allow Custom Role to edit a custom post type category
- Custom Taxonomy Isotope Grid – Filter Buttons Not Working
- Shop Category Pages missing s
- How to prevent tag “iframe” from being deleted from the heading description of rubric?
- When creating a new product, auto assign it to all custom taxonomy woocommerce
- How do I merge WooCommerce categories with the same name?
- Custom get_the_password_form
- Some subcategories not working on custom portfolio sort
- How can I make a category function as a page?
- How to add custom option to wp_dropdown_categories?
- How to hide/remove featured images in particular categories post?
- Link For Portfolio Categories
- Create duplicate category page with content variations
- Renaming default category taxonomy?
- Profiling user with categories
- Category names dependent on each other?
- Hide category name in URL
- Category archives
- Category Template for Custom Post Type
- Loop Through Categories in Custom Field
- Backend – Categories and Menus conflicts
- Loop through posts of CatA and store value of CatB in separate array
- Highlight posts that belong to current sub category
- How to add an empty entry to masonry?
- Own Custom Tags/Category page ( posts)
- Problem with single posts not showing correct category sidebar
- Multiple Categories under one URL, where ‘Front Page’ is used already
- finding out the top 5 source ( source is a custom taxonomy ), in a given category
- How to display many photo albums related to category
- Modify functions.php to add a term ‘uses-theme’ set to theme name on post save
- WordPress category gives 404 after moving to a different domain
- Create custom Perma link
- How to load/include category templates based on conditionals?
- Why does WordPress append a bullet to my category tag?
- how to implement next/prev within category archive?
- Add product category to post_class
- Moving Blog and Changing URL
- completely confused with archive.php, category.php