Figured it out:
$carousel_items = get_queried_object();
$next_items = get_terms(
$carousel_items->taxonomy,
array('parent' => $carousel_items->parent,)
);
Related Posts:
- How to find objects by terms
- Display certain amount of posts on taxonomy archive page
- How do I get taxonomy terms by ID in a specific order
- Get taxonomy terms only of the WP_Query current posts
- How to get post’s current parent term ID?
- List taxonomy term slugs within shortcode (do_shortcode)
- Copy taxonomy terms from one post to another programmatically
- Hide image if taxonomy term is empty
- Isotope Drop Down Categories Filter Function
- How to filter custom taxonomy term name, slug, and description?
- Hierarchical taxonomy list with modificated term links
- Exclude product attributes from taxonomy terms loop
- Trying to display terms from custom taxonomy within function
- How do I edit the terms output args or array data?
- update_term_meta() only updating once on certain meta keys
- New term taxonomy and description in front page. Input’s
- How to display terms from two taxonomies in one php code?
- Get all the contents of taxonomy and sort by term
- ISOTOPE – Missing/Invalid Arguement Get Terms
- WordPress taxonomy and terms question
- Put ACF function output code the_terms
- Show all terms of a custom taxonomy?
- Counting number of posts in a category and its sub categories and displaying result using shortcode
- category not display in word press grammatically
- I want to remove the links from the term list returned by get_the_term_list
- How to get the term before the last from a custom taxonomy?
- Get all taxonomies for all post types
- WP_Query use for a filter with multiple Taxonomies and Terms
- Problems with function on function.php
- Display Post co-authored in Author Page
- Check if term object is in array
- How to change / delete product short description in Woocommerce
- get_the_terms – only top level
- get_terms orderby numeric
- Query all posts of a custom taxonomy term
- Custom page archive query by url var calling page twice on one of my custom queries?
- Taxonomy linked to pages
- get_term_link() returns incorrect url
- Create a hierarchical taxonomy list in WordPress
- get_term_link() returns correct – But illogical error-messages disturb
- Customising the search function?
- Why my filterable portfolio page work not perfectly between slug button and slug output WORDRPESS?
- Loop through categories and display posts title under each dropdown
- How to get original custom taxonomy slug after the slug has been rewritten?
- Adding Taxonomy Image to taxonomy loop [closed]
- Insert term and child term from frontend
- register_taxonomy() take much queries
- Way to bulk make all my tags lowercase?
- Category title output before opening title tag
- How to parse multiple links from one variable?
- Include Parent Term in wp_list_categories
- How can I access string value in an array?
- Add class to website based on post taxonomy
- Show the section only if custom taxonomy was chosen
- How to insert wp_users ->user login name to wp_terms when a new user registering?
- Change header on pages displaying taxonomy items
- WordPress site with embedded menu – gives You don’t have permission to access /wp-content/themes/xxx/taxonomy-redirect.php on this server
- WordPress custom taxonomy
- Filter unique custom field value based on custom taxonomy category or other custom field
- How to break up php code to avoid echo
- Woocommerce getting top level category parent and make all sub categories have the same template and menu
- PHP displaying wrong custom taxonomy images
- WordPress Conditional / Multiple Taxonomy Query
- Hi need update in my terms for other taxonomy
- How to change the author box selection on a post to a custom taxonomy
- WordPress: Export/Import Yoast meta title & description to custom taxonomy
- Show related products by attribute based and certain conditions
- Display acf taxonomy attachment
- How to hide a child category and show his parent category
- How to retrieve taxonomy Metabox fields in frontend
- Create category after theme setup and modify the default one
- Search for single post by 2 tags
- $_GET[‘title’] in WordPress
- wp_set_object_terms returns 500 error when called through AJAX function
- Editing the term_order field
- Permalink like example.com/taxonomy/post_type/postname
- How to associate dynamic PHP page for chosen WordPress tag?
- How to hide the Duplicate taxonomy values in WordPress?
- Display product attributes for current product
- WordPress using get_term to retreive slug not working as expected
- Custom Taxonomy as Link
- How to filter the terms to a special custom taxonomy?
- Select All not working in a WordPress search filter
- How to get the count for each taxonomy term
- How to get all the terms of a post
- Query specific posts per user selections from dropdown menus
- wordpress taxonomy in regular posts
- Add Column to Term Database
- category & sub category order issues in wordpress
- Is there a way of displaying related posts from lowest hyrachical order (lowest child category to parent category)
- Custom taxonomy with page post type – WordPress
- get_the_term_list give me a whitespace
- WordPress different custom tag being displayed in on tag list
- Three different queries on same page
- Remove colon from CTP UI “Singular Label”
- Trying to add taxonomy terms to search results page
- How to limit number of posts in the certain category and exclude the oldest post automatically
- Filtering according to the locale ‘de_DE’
- WordPress Product Page Change Label From ‘Category’ to ‘Artist’
- Allow HTML in custom taxonomy description, and show it on front end