It sounds like you’re looking for get_term_link( $term_ID )
which takes the term ID and returns a link.
===
EDIT: Try this:
$term_id = get_query_var('tag_id');
$term_link = get_term_link( $term_id );
Related Posts:
- Permalink help with default Posts and custom Taxonomy
- Replace taxonomy permalinks
- Duplicate slug/permalink issue
- How Can I Remove Child Slug From Grandchild Slug When Using Duplicate Grandchild Slugs?
- Custom taxonomy return 404
- Using post type archive page for taxonomy archive
- Add custom display condition to Elementor Theme Builder for custom taxonomy children, grandchildren, and great-grandchildren
- How to return custom taxonomy term in title for archive?
- custom taxonomy and pages rewrite slug conflict gives 404
- Remove taxonomy base or term from url
- Can’t get a custom template taxonomy page to display
- Custom Post type & Taxonomy URL structure
- Combining Multiple Taxonomies in one URL
- Custom taxonomy listing page when no term set (all terms)
- pre_get_posts with tax_query causes empty result
- Sort Custom Post Type Archive by Taxonomy Term [duplicate]
- Exclude specific slug in ‘get_terms’
- Removing taxonomy base using WP rewrite
- Dynamic taxonomy in permalink made all other posts NOT FOUND?
- Custom taxonomy on permalink
- How to enable hierarchical permalinks for hierarchical taxonomies
- Archive template for taxonomy terms
- Remove Custom Taxonomy Base
- How can I set up a category “overview” page?
- Nice URLs for a Custom Post Type List with a Shared Custom Taxonomy?
- Dynamic page slug for Custom Taxonomies?
- The same slug in multiple taxonomies
- How to group by taxonomy on Custom Post Type archive
- How to fix a double slash in custom permalinks with hierarchical taxonomy’s?
- Getting archive pages in WP’s AJAX internal link finder?
- custom taxonomies on permalink
- Pros and cons of using [taxonomy name] in place of [category name]?
- Landing in 404 Page on Navigating to Custom Taxonomy Archive
- Remove taxonomy slug when not assigning taxonomy with custom post types
- Permalinks for quote authors
- Change in custom taxonomy permalink causes 404 error for another custom taxonomy
- How to edit/remove a term that’s in multiple taxonomies?
- Taxonomy based permalinks
- custom taxonomy archive permalink shows 404 error
- Custom taxonomy term in WooCommerce product permalink
- Custom taxonomy template not working with simple loop. Multiple CPT using the same taxonomy
- How to redirect custom post type archive to first term of associated taxonomy?
- How to create drop down for child categories of current taxonomy being viewed?
- Change URL structure of subcategory archive pages
- Remove Taxonomy Slug when No Taxonomy is Assigned to Custom Post Type?
- Add parent/child taxonomy to custom post type url
- Custom Permalink with Dynamic Taxonomy for Custom Post Type – Works, but breaks other permalinks
- Custom Taxonomy breaking pages permalinks
- Why does WP rename similar “term name”-slugs in separate taxonomies?
- How do I get WordPress URL rewrites into Sitemap?
- Keep taxonomy base name in post permalinks
- Custom post type and taxonomy permalinks – Structure
- Custom Post Type with two hierarchical Custom Taxonomies: strategy to generate best permalink structure
- get_terms in a taxonomy template
- Change permalink of post if it belongs to custom taxonomy
- Custom Taxonomy template is not recognised
- Custom Taxonomy Archive BUG
- How do I Use Multiple Loops with WP_Query?
- Permalinks for custom taxonomy stopped to work
- Date archive permalinks for custom taxonomy
- Custom template won’t load for a custom post type (custom permalinks used)
- Get custom category image from menu
- Custom Taxonomy Template Error: Catchable fatal error: Object of class WP_Error could not be converted to string
- Display Taxonomy Terms in an option tag with value being the slug
- Changing taxonomy term by slug (wp_update_term)
- Why is the custom taxonomy archive page redirecting me to a single post? [closed]
- remove custom taxonomy base / slug [duplicate]
- Get number of post who belongs in two taxonomies!
- Custom permalinks with hierarchical taxonomy – getting PHP warning
- How do I exclude posts from custom taxonomy from a custom post type archive?
- Automatically Give All Custom Post Types a Pre-Set Category [duplicate]
- Sort order by slug for looped child terms of custom taxonomy
- Include parent and child in category url
- How do I modify taxonomy term slugs dynamically?
- Custom Taxonomy index/archive hierarchy
- How to display an other custom post type in a different custom post type’s archive?
- how to change permalinks format for pagination?
- How do I create a permalink structure with 2 taxonomies
- Base permalink for custom taxonomy
- put custom taxonomy slug in front of their respective term slugs
- Rewrite Rules returning wrong data
- Custom Post Archive is not working
- How to change url for taxonomy pages?
- Query custom taxonomy by term id?
- How to customize taxonomy archive template files for subterms?
- How to customize custom taxonomy url?
- Echo custom taxonomy slug
- Set term on an attachment using wp_set_object_terms and want to display the full term text but it’s showing a slug instead
- Check If Taxonomy A and Taxonomy B has same Slug, 301 Auto Redirect Tax A to Tax B if True in WordPress
- Why isn’t the ‘no results’ being shown when a query returns no results?
- Permalink problems with custom post type and custom taxonomy
- Reverse order of posts in a certain taxonomy archive?
- Custom Post Type Advanced Slug
- How to add hierarchical taxonomy with parent child relation to URL?
- WordPress modify Settings > Permalinks (options-permalink.php) Add CPT Permalink Options
- Custom Post Type Archive template not being called
- Limiting the Archive page to posts posted by particular author
- How to create a custom template for custom taxonomy wp-tag-cloud?
- pre_get_posts post_meta event
- How can I add a custom permalink to a term?