Simply use the term id to replace ''
and the taxonomy name to replace get_query_var( 'taxonomy' )
.
echo term_description( $term_id, 'your_custom_tax_name_here' );
P.S. Have you ever heard about Codex?
Related Posts:
- Include and Exclude Taxonomies From Archives & Feeds Using ‘pre_get_posts’
- Check if current term is a child of another term
- How to hide custom taxonomy archives same way as hiding custom post types?
- How to pass posts_per_page and paged params query vars to custom taxonomy archive urls?
- Page queried instead of a custom taxonomy
- Using a different template per Custom Taxonomies for single term archive pages
- Creating an Archive using a Custom Taxonomy
- Display direct children of the current custom taxonomy in taxonomy.php template
- Date archive permalinks for custom taxonomy
- Taxonomy archive showing no results
- Dynamic loading of Archive content based on custom taxonomy term name
- List taxonomies according to whether this post is in another taxonomy in taxonomy archive
- orderby meta_value breaks taxonomy term archives
- Why is the custom taxonomy archive page redirecting me to a single post? [closed]
- How to have two different versions of a tag/category/taxonomy archive page?
- Automatically Give All Custom Post Types a Pre-Set Category [duplicate]
- How to add Post Format Taxonomy Archive page in the menu?
- How does WordPress Parent-Child Taxonomy actually Works?
- Custom taxonomy archive shows 404 error
- Custom Taxonomy index/archive hierarchy
- Filter custom taxonomy archive posts by 2nd custom taxonomy using select dropdown
- Custom Taxonomy Term Archive Page Template that Filters 2 or more Taxonomies
- How to use multiple archive templates for a taxonomy?
- how does the wordpress rest API work
- Taxonomy archive template that shows posts from more than one taxonomy
- Custom Taxonomy List with Children
- why the archive of custom taxonomy term shows nothing?
- Can I output a custom taxonomy as a submenu in the site navigation menu?
- Add terms to a taxonomy archive from within the same taxonomy
- Custom Taxonomies Archive Page 404
- How to create archive pages for metadata query generated posts (so without taxonomy)?
- How to create a completely functioning separate archive for posts from only 1 or 2 specific categories
- How to pass posts_per_page and paged params query vars to custom taxonomy archive urls?
- Hierarchical taxonomies in permalink cause 404 for sub term archive
- How to get a terms and posts associated with another term?
- Change the Page Title of the Archive Page for Portfolio Tags
- Custom taxonomy return 404
- What’s the url queryvar for a taxnomy archive?
- Multi level archive
- Custom Taxonomy Archives Page Errors
- index.php Not Showing Custom Posts / Terms
- Custom Taxonomy Archive Page for Parents AND Children?
- Redirect or Prevent Viewing of Custom Taxonomy’s Archives?
- Creating a Taxonomy Page [duplicate]
- Exclude 2 in 3 terms of A Taxonomy from all Archives
- Insert code on specific taxonomy archives
- Permalinks not working on MU network with domain mapping
- Custom Taxonomy Archive URL rewrite
- Can you orderby slug in a taxonomy archive page using WP_Query?
- More than one Hierarchical Taxonomy and SEO
- Taxonomies starting with a hyphen (minus) to assign B.C. dates to a post
- Custom taxonomy archive empty
- Why my archive title isn’t showing?
- Creating a custom archive page for WooCommerce products based on tags
- How to only list the child terms of a taxonomy and not their parents?
- How to display custom taxonomies in posts?
- Archive page with multiple taxonomies rewrite
- get_terms() returns an empty array
- Scheduling posts to update once per day with wp_cron
- How to find taxonomy name using only taxonomy TERM ID (or taxonomy term name)
- Permalinks for quote authors
- Using a loop to display terms associated with a post
- Custom Taxonomy: Parent still counting deleted Child
- how to create a proper query for getting a list of users with taxonomy related meta key
- Taxonomy page template changing when using query variables
- Get direct children of custom taxonomy
- How to add autocomplete to custom taxonomy for CPT
- List subcategory on taxonomy term page
- Using wp_list_categories to show more than one custom taxonomy
- Show all posts without a custom taxonomy
- How do I taxonomy terms based on terms they are used alongside?
- How can I populate a select element with terms from a custom taxonomy and filter post results?
- How do I list the pages of a custom taxonomy?
- Why does a new taxonomy term get created when I assign an existing term to a post?
- Add Image Uploader In Admin Panel
- Tell the difference between a term and page when they have the same ID
- How do I create a permalink structure with 2 taxonomies
- Clicking Add New button for custom taxonomy only moves element
- get_term_link not working
- Hide terms if they aren’t the same as the current term
- Don’t display taxonomy if empty
- how to access the $query variable inside taxonomy-xxx.php template file?
- Change the full permalink (URL) of a single post by connecting it to a specific page
- Add taxonomy column with meta field (ACF) content
- Add A CSS Class To A Menu Item When A Custom Taxonomy Term is Present On Single Post
- How to appear plural or singular custom taxonomy name(-s) inside woocommerce single product meta php file
- How can I rewrite a custom taxonomy archive slug
- Output slugs to use as class names for every taxonomy a post is attached to
- Orderby taxonomy term id using get_posts not working
- Searching JQuery arrays of taxonomy terms for word matches in frontend images upload
- Display taxonomy posts
- Conditional Logic Based on Custom Taxonomy
- How to get name of custom taxonomy
- How to save custom taxonomy archive as a page template?
- Post Class for Custom Taxonomy Error
- How do I deliver posts based on user geolocation
- Filer taxonomy posts by current category
- Remove Tag Cloud Words from Custom Taxonomy
- Taxonomy to display form after creation
- How home my code doesn’t display any feature image? Looping through post from a taxonomy and not getting feature images back