Have you try to do with it wp_set_object_terms
get term
WordPress set object terms
after save post set object term.
I think this will help to you.
Related Posts:
- Append taxonomy terms as class names in markup?
- Different Category system needed for the Custom Post Type
- Foreach loop returning more than one item when querying taxonomy
- Function to erase every post from a taxonomy
- set object terms after some some time of published post – functions.php
- update custom taxonomy custom fields
- Check that a slug is present in the get_terms request
- Change Search display for Custom Post Type
- Getting a 404 on single custom post type page when using rewrite on a custom taxonomy
- Create 2-layered dropdown menus for custom taxonomy and custom post type
- Custom Loop for custom post type. Compare by meta_value?
- How do loop categories post from according in WordPress? is it impossible to solve this problem?
- Display a query with multiple post types and same relationship on a single page
- Custom post status not working
- Find callback function for custom taxonomy metabox
- How do I add a custom post type to the Featured Content in twenty fourteen theme?
- Ajax filter with custom taxonomies
- Filter posts with ajax form and checkboxes
- Limiting number of custom posts shown on taxonomy page
- Custom post type loops with different page templates
- Limit Authors to their Own Posts on front-end excluding admins
- Get all taxonomies for all post types
- How do you output custom code between posts in the loop?
- Show ACF field from custom taxonomy and display on the single template
- List terms from Custom Taxonomy
- WP_Query search posts by custom post type and custom taxonomy
- Loop through posts of a custom-post-type (event) and create .ics (iCal) file?
- Output custom post shortcode. Help spot the error.
- Custom Post Type Taxonomies -Posts not showing in Category or Tag pages
- Weird problem happening with custom taxonmy when creating/updating posts
- A good strategy to print custom posts (offer) that are checked inside the metabox of a post?
- Taxonomy Archive: Display only one post per term from separate custom taxonomy
- How to display selected taxonomies by their parent
- Custom Field Order by Last Name and First Name
- get_posts of Custom Post Type AND Custom Taxonomy
- How to customize a permalink (URL) structure?
- Get custom post type list for every category shortcode
- 404 error when navigating to a taxonomy page with Cyrillic, what’s wrong?
- get_post_meta not working on publishing
- WordPress wrapped added a span tag to every single p tag
- ACF field key/value to show on taxonomy list
- Query taxonomy of taxonomy of custom post type
- How to rewrite url for any specific taxonomy?
- How to change permalink to include custom post type
- Configuring a meta query with multiple post types that have the same relationship on a single page
- Add term to custom post type on draft
- Meta-Boxes for CustomPostType cause PHP Errors and Notices in “Add New” view
- Trying to get custom post of a custom taxonomy
- PHP question: how to combine syntax?
- Loop increase number
- Assign category a default post type
- Control content before and after custom post type loop
- How to use a variable as a function name?
- Removing full title and breadcrumb header container for a specific post type
- When I choose category from dropdown then everything working fine.But in backend it checked only child not parent [closed]
- Query custom post types & Taxonomies and list them in a table on a page
- Custom post type and custom taxonomy 404 on page 2
- Show current user posts in custom post type query
- Nested Custom Taxonomies | Incorrect posts when querying
- Commas not displaying in implode
- add custom tags for custom post type in wordpress
- How to get post count of specific taxonomy that have store name & category
- Create a Dropdown Selector and Redirect for a Custom Taxonomy in WordPress?
- redirect after submiting post for review
- How to divide Subcategories into pages of parent category wordpress
- how to achieve this permalink abc.com/CPTName/CustomPostTypeCategorySlug/categoryname
- Custom front-end form for adding post – Category problem
- Filter taxonomy by CPT
- Is there a way to use ‘publicly_queryable’ => false only on specific taxonomy term?
- Pagination not working in custom post type. Help
- How to add specific terms in a custom post type?
- CPT tags not showing when editing post
- pagination problem listing custom post types of taxonomy in wordpress
- Persist meta box choices throughout all posts of same post type
- ACF field check value of field on all other articles
- Filter Custom Post Type Posts by Taxonomy
- Custom search for a custom post type in WordPress
- Recovering data about custom post and taxonomy types
- Stored meta from attachment, video length?
- tax_query not working?
- wordpress does not see the correct custom taxonomy hierarchy
- Add active class to foundation 6 tabs while looping categories
- Duplicate posts in my custom loop
- WordPress query posts by custom post type not workng
- Show custom taxonomy not in submenu
- Featured image in custom post is being disabled
- Pods pagination erases my sub menu
- Function not pulling image or text from custom post type
- WordPress Custom Post Type and sort by Tags
- Order by custom field attribute
- Looping taxonomy in taxonomy?
- posting twice from an array?
- Invalid Taxonomy in template
- Code in custom widget queries all posts, when it should only query the current post
- Add HTML before a specific div?
- Display ONLY ONE $term (Out of 4 terms) from a Custom Taxonomy and CPT
- Custom Post Types using wrong template (index) instead of archive-{type}.php – previously worked as expected
- how to display custom taxonomies in front page
- WordPress different custom tag being displayed in on tag list
- How to use wp_set_object_terms depending on page ID?