You can add the following hooks in your code to add it to event-category custom taxonomy.
add_action('event-category_edit_form_fields','extra_category_fields');
add_action('event-category_add_form_fields','extra_category_fields');
Related Posts:
- WP Query group/order by category name
- How to change post featured image using a custom field of category?
- Hierarchy and access control for Custom Post Types (CPT)
- Cross reference custom post types
- Targeting categories in custom fields
- Custom post types category
- Automatic Set Category For A Custom Post Type
- WP_Query by a category id and a custom post_type
- Why are posts from custom post type not displayed in “category” archive?
- Automatically set post title to same value as a meta box
- How to get all custom fields of any post type
- What should I use – Taxonomies, custom fields, Post Type?
- Custom Posts Types using Posts Category
- Automatically fill custom field value on post publish/update
- Right way of storing large number of custom post fields
- Retrieving values of custom fields in Quick Edit mode
- How to get a list of term names of the custom post type im currently on in single.php
- Orderby custom field for custome post type
- List upcoming events, ordered by date in a custom field
- Custom Post Type with Custom Title
- How to create download links based on Custom Fields with Rewrite API
- One to many custom post relationships
- Backend search; include CPT meta?
- Use Custom Post Type as Custom Field
- WP_Query on custom post type not displaying, multiple loops & get_template_part
- Regex problem in an add_rewrite_rule
- Saving multiple Metabox contents
- Categories or Custom Post Type to Organize Content
- How to Sort Custom Field Admin Column by Date
- How can I customize “Pages” admin (edit.php) and “Edit Page” admin (post.php) for bulk edit of custom content type?
- On clicking on the category name the page is redirecting on 404 pge
- Hook onto Add New Category
- Custom edit post column – category not showing
- Custom post type / custom fields
- Custom post type taxonomy template
- get_categories for custom post type and filter by custom taxonomy (brand) and list child categories of a defined category
- how to set default value for checkbox in wordpress
- Page naming when there is a sub-category only sometimes.
- How to Display ACF Relationship Custom Field as Link to Specific Custom Post?
- Category page only displaying the posts from a custom type
- Get a permalink structure of /%posttype%/%category%/%postname%
- Take Variables Set in Functions.php and Echo Them Inside My Custom Post Template
- Assign Taxonomy Based on Custom Field Value
- Ajax form filter post by custom fields [closed]
- Custom Posts Hierarchy? (State/City/Restaurant)
- Customize permalink when creating a post
- wp_query to find posts by year and month
- Assigning the same custom meta box to multiple post types
- meta_query compare >= not working but
- window.send_to_editor and jQuery .attr() conflicts with multiple custom upload image meta boxes
- Pagination on category page with custom post types
- How to structure a site with product variations pages?
- Call custom post type by category
- Save an array from drop-down in custom meta box
- Should I use custom menu, C.P.T. or theme options, or something else for this?
- Including Custom Meta with posts_where query
- How to create shortcode to display custom field value on a custom post type
- How to set up multisite for multi language?
- Show custom post type filtered by category
- Filtering custom post type on a combination of custom taxonomies and custom fields?
- Creating a Custom Post as a repository for theme constants
- How do I associate a custom post type with another through a taxonomy or storing an ID in a custom field?
- Orderby CPT custom fields not working
- Show custom post type relationships by taxonomy
- get_post_meta not working on publishing
- Filter CPT posts by one or more categories
- Query custom post type with ACF Date
- How to create a custom post type with additional fields?
- WP Query with categories only shows one post and ignores the category
- Add custom field in comments form
- Order Custom Post Type by Custom Field Value
- Custom Post Type + Categories
- Loop filtering Custom Post Types and/or Categories
- Best method to make posts searchable, sortable and filterable – custom field, tag or category?
- Conditional statement for if archive page has posts which contain certain taxonomies/categories/tags, show those terms
- Facebook social publisher and custom post type fields [closed]
- How can I show 1 featured post in a styled element, and the next few below differently styled
- Searching Custom Fields
- How to get specific post meta by title or id
- Populate a custom field dropdown with post titles by author
- Get assigned post categories
- Post Query not working
- Filtering custom posts by custom fields (ACF) [closed]
- Custom post type, taxonomy and admin bar
- Why this didn’t work if i use get_the_ID(), but works if i pass the numeric id
- Show Custom Post Type based on Category on Archive Page
- Query events post type after current date and timezone
- Avoid another meta box in my custom post type
- Structuring 3K pages in WordPress
- How to stop wp_query searching pages as well as the specified CPT
- Display 2nd category, only once, as sub-heading, in the loop
- wp_list_categories() with attachment post types
- How can i display on front page a movie that is atached in a post type
- how to implement club post type
- How can I show second most recent post in sidebar, if most recent post is open in the browser?
- How to separate posts by categories?
- How to display *block number* instead *date value* on WordPress posts?
- Custom Field in Page Title
- add_post_meta unique value for all custom posts
- How do I edit this code so that it also adds specific meta data into the user and subsequent CPT being created?