The final working hooks that I was able to work out are:
// adding an extra column to the event_cateogires page
// to display the color
function events_color_column($defaults) {
$defaults['event_cat_color'] = 'Event Category Color';
return $defaults;
}
function events_color_column_content($column_name, $post_ID) {
echo 'Event Color : #2432';
}
add_filter('manage_edit-event_categories_columns', 'events_color_column');
add_action('manage_event_categories_custom_column', 'events_color_column_content', 10, 2);
Using the
if ($column_name == 'event_cat_color') {
echo 'Event Color : #2432';
}
didn’t seem to work with this action hook. Removing the conditional, and just echoing things out seems to work.
Related Posts:
- Custom columns for taxonomy list table
- Why does get_term() require taxonomy? Are term_ids not unique?
- Display Custom Taxonomy in Sidebar in Two Columns
- How to change value in wp-include/taxonomy.php without exchanging the WordPress-core
- How to perform unit testing on proposed patches in Trac?
- Remove the category/taxonomy description field?
- Add ‘Description’ to taxonomy ‘Quick Edit’
- How does Woocommerce store variation attributes, and how can they be retrieved per-variation? [closed]
- How to organize and cache additional data associated with terms?
- Child Terms not Displaying on the Taxonomy Term Admin Screen
- Set a cookie in WordPress, using a select form and Jquery
- How to add terms to taxonomy with wp_insert_terms?
- Set default (auto) slug prefix for Tags
- How to add automatically keyword to taxonomies when a post published, and assign them to the post
- Custom taxonomy archive – No posts found [closed]
- Display parent taxonomy name and list child taxonomies below it?
- Count argument in get_terms has no effect on ouput/doesn’t work
- Taxonomy Custom Column – ‘manage_{TAXONOMY}_custom_column’ filter only passing 2 arguments
- Get current custom user taxonomy
- Conditional tag affecting taxonomy term and its children?
- Filter taxonomy terms using multiple id in the edit-tags.php
- Getting the parent from the wp_term_taxonomy
- Organising Taxonomy categories
- Variable in Array Not Working
- How to list 2 taxonomy terms for a post, based on their hierarchy
- Displaying all terms of a custom taxonomy
- Showing custom taxonomy column in taxonomy category listings immediately after create category
- Order wordpress taxonomy parent terms by their children count
- Use get_terms to get post_tags but limit to a taxonomy
- Plugin to assign parent category on multiple taxonomy terms
- Pagination on taxonomy archive pages breaks
- Hook for taxonomies needed
- How can I increase the length for the taxonomy term slug?
- how to show only last child terms of a taxonomy
- Check for taxonomy archive on search results page
- Use a CPT as a taxonomy
- How to list taxonomy terms in reverse order?
- how to display only the sub category names of the taxonmoy
- Adding tag’s featured image to tag archive
- Group Post by Custom Taxonomy 2 under Custom Taxonomy 1
- Taxonomy URL Rewrite
- Ordering Taxonomies / Changing term_id
- Fetch and ACF image field from a custom taxonomy outside category/archive page? [closed]
- How to restrict users in edit post that can just select exists tags? not add new
- Changing the default taxonomy key length
- Adding taxonomy terms based on custom field
- Multi Taxonomies same terms
- Make taxonomy terms appear in the order they were made
- Taxonomy Tag Conditionals
- What does ?cat=2-5-results mean at the end of URLs?
- Display a tag only if there is a description
- Query Custom Post Type by Taxonomy Meta Value
- Taxonomy – Exclude post format from showing on page
- Advice on how to build multiple cross-tagged content types
- Return Taxonomy Name for Each Term
- Taxonomy list names with lowercase
- Test if taxonomy on current page has at least one term with more than one page tagged with that term
- Modify output of wp_dropdown_categories to add term IDs to each option
- How to display only the direct children of a term on a taxonomy page
- Get an array of custom taxonomy with posts inside each items
- Display posts from tagchildren of taxonomy tagparents
- If has_term, load other theme
- archive page sidebar not working
- Tax Query trouble
- Bug using wp_insert_term with switch_to_blog
- Get something out from taxonomy
- get_term_by with a variable
- Change searching from world level to first letter
- Finding id of taxonomy by name in custom post type
- How to have article URL like example.com/article1 and example.com/foo/article2?
- How to display acf repeater in tag archive page?
- I want to edit the tags template by adding text that displays all tags from the listed posts
- Get Term ID by Description
- Can lots of tags affect performance?
- echo a tax term in loop
- I need posts within a taxonomy category that are tagged “featured” to show up first
- how to echo a custom taxonomy term from an array of term
- How to manage the links of a new taxonomy
- How to position taxonomy meta box on page
- WP REST API taxonomy is missing on custom post type
- How to add some filter to Category Taxonomy
- Get taxonomy url, name, post count & image
- Rewrite permalink to include multiple taxonomies
- taxonomy terms are not populating select tag options
- Related Posts by taxonomy using Advance Custom Fields Plugin
- get term slug from current posts’s custom taxonomy
- Why do my offline development site and online live site behave differently?
- How to Display Child Taxonomy Posts
- WordPress bool(false) means taxonomy compare not working [duplicate]
- Output Taxonomy Title as Part of Result
- Store members in custom taxonomy or native user?
- Filter custom taxonomy table
- Add a tag like a post
- Passing values by form to create a query
- Taxonomy link not working (leads to 404 page)
- Adding Advanced Custom Fields to posts without hyperlinks
- Show Taxonomy Child Terms (name and image) on Parent Term Page
- How to display a term of taxonomy
- Hiding a tag from display
- taxonomy change to post/page type