You have got the current term id by the following code
$current_term_id = get_queried_object_id();
Getting all the info of chilldren of the parent, not grandchildren
$termchildren = array(
'hierarchical' => 1,
'show_option_none' => '',
'hide_empty' => 0,
'parent' => $current_term_id ,
'taxonomy' => 'Structure'
);
$subcats = get_categories($termchildren);
// Display the children
foreach ($subcats as $key => $value) {
$term_link = get_term_link( $value );
$name = $value->name;
echo '<a href="'.$term_link.'">'.$name.'</a>';
}
Related Posts:
- List post from current taxonomy children
- `get_terms()` with `child_of` and `childless` combined
- Displaying Custom Taxonomy Children in Dropdown
- How to show children terms even if they are empty
- Can the default “post tags” taxonomy be renamed?
- Custom columns for taxonomy list table
- How to organize and cache additional data associated with terms?
- get a specific taxonomy term name
- get_terms() How many is TOO many?
- How to display child term of current term’s parent taxonomy?
- Sorting custom taxonomy causes menus error
- Is there any difference between post in child term and child & parent terms?
- How to add automatically keyword to taxonomies when a post published, and assign them to the post
- Display Custom Taxonomy in Sidebar in Two Columns
- Create and move terms for taxonomies
- How to get the top most term (top ancestor) of a custom taxonomy child term?
- How can I remove links from the function “get term list”?
- Alphabetical order in taxonomy.php
- Get Term names from WP Term Object
- functions to create term and child terms
- base directories / URL
- Conditional tag affecting taxonomy term and its children?
- WordPress REST get all items without a taxonomy assigned
- Getting the parent from the wp_term_taxonomy
- How do I get the current tag out of a taxonomy?
- If search matches taxonomy
- Showing custom taxonomy column in taxonomy category listings immediately after create category
- Custom Field as Custom Taxonomy?
- Plugin to assign parent category on multiple taxonomy terms
- Pagination on taxonomy archive pages breaks
- how to show only last child terms of a taxonomy
- Modify the query method when adding category filtering function to the custom post list
- Check for taxonomy archive on search results page
- Use a CPT as a taxonomy
- Taxonomies on custom taxonomies
- How to list taxonomy terms in reverse order?
- need to get postthumnails from a post whithin a category custom post type
- Individual post. Meta_key, taxonomy or post status for separation?
- Taxonomy archive page WP_Query does not return get_the_permalink() or get_permalink() value
- 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
- How to show taxonomy image instead of taxonomy name on a list
- Multi Taxonomies same terms
- benefits of the table ‘wp_term_taxonomy’
- How to save a multiple checkbox array into a non-hierarchical taxonomy
- Display a tag only if there is a description
- Query Custom Post Type by Taxonomy Meta Value
- Add text to the end of each list item in wp_list_categories
- Return Taxonomy Name for Each Term
- Taxonomy list names with lowercase
- echo term name outside the loop, using term slug
- What are these undocumented arguments for register_taxonomy?
- Dynamic filtering of posts with custom taxonomies
- Sorting tags by name
- Modify output of wp_dropdown_categories to add term IDs to each option
- Query Custom post type with Taxonomy Custom Field
- Display posts from tagchildren of taxonomy tagparents
- If has_term, load other theme
- Terms from current post custom taxonomy — excluding parent and only from a single parent term
- archive page sidebar not working
- Want Page Descendants when using query_posts post_parent or child_of
- Bug using wp_insert_term with switch_to_blog
- how to list parent terms only
- Related Taxonomy Doesnt Show any Posts
- Get something out from taxonomy
- get_term_by with a variable
- Get ACF taxonomy term and sub-term lists ACF blocks
- 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?
- Unique IDs for Post Types and Taxonomies
- JS POST update data taxonomies
- Can’t display multiple terms with get_the_terms
- I want to edit the tags template by adding text that displays all tags from the listed posts
- echo a tax term in loop
- I need posts within a taxonomy category that are tagged “featured” to show up first
- 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
- Get taxonomy url, name, post count & image
- Rewrite permalink to include multiple taxonomies
- taxonomy terms are not populating select tag options
- Recent posts by taxonomy and filter by tag
- Related Posts by taxonomy using Advance Custom Fields Plugin
- Organize content by month? SQL statement?
- Display Custom Column in CPT Taxonomy
- get term slug from current posts’s custom taxonomy
- How to Display Child Taxonomy Posts
- Output Taxonomy Title as Part of Result
- Help me add Taxonomy to byline
- Filter custom taxonomy table
- Add a tag like a post
- How Can I List Categories by Date?
- Custom Taxonomy Page redirect 404
- Passing values by form to create a query
- Why is taxonmy-[taxonomyname].php not working?
- Taxonomy link not working (leads to 404 page)
- Hiding a tag from display
- taxonomy change to post/page type