get_queried_object
will give you the current term object being viewed. You can pass that directly to get_term_link
as the first argument.
$url = get_term_link( get_queried_object() );
Related Posts:
- How to get the url to tag & category base set by the user?
- Root level category, tag, author and archive pages to work
- Categories and Tags returning 404 on the sidebar when using ugly permalinks
- Changing permalink from /postname/ to category/postname/
- Advanced permalinks structure
- How to add tags under categories
- Page Type with Category Link
- Can’t custom taxonomies have same terms (slugs) as categories?
- How to display non-hierarchical taxonomy as terms with checkboxes?
- Catch 404 after changing permalink structure from /%postname%/ to /%category%/%postname%/
- How to remove category from wordpress url?
- How to create a custom url for a category [closed]
- Use tag interface for hierarchical taxonomy?
- How to change the category in URL for posts in multiple categories?
- Using URL parameters, list posts from category and custom taxonomy
- Filter categories using tags
- Sticky posts on home page, search, tag and archives without plugin
- Are Categories, Tags and Custom Taxonomies any different in regards to SEO?
- Create subdomains for tags and categories
- How to Include the Parent and Child Category in the Permalink if the Post is Added to Both
- How to totally get rid of Category in my blog?
- Showing all the posts in one page?
- Archive pagination causing 404 with permalinks structure
- Is it possible to put tags and category information in the post as text?
- Plural Category Base Slug On Category Archive Page
- Script to duplicate categories as tags
- WooCommerce change category url and product base
- Remove Archive Headline and Archive Intro Text fields on category and tag archive pages in WordPress Admin with Genesis framework
- Removing category base form links messes up the parent-child behavior
- display most popular tags of category?
- Can paginate_links() be customized for a specific category or tag?
- Any way to assign Post Categories and Tags to Links?
- How to set up Author archives with sub category URL
- How to Filter categories in the permalink structure
- Specifying multiple categories in URL (permalink)?
- Warning: sizeof (): Parameter must be an array or an object that implements Countable, On products pages
- How can I duplicate categories and tags?
- How to run select query of post with category and tags for API?
- Add “page-a” slug to category link if user visit category link from “page-a”
- Redirect category to url with /category
- One Specific Category To Permalink
- How to display categories which contains particular tag?
- “Categories” for six authors [closed]
- Permalinks: display just one kind of wp category in the posts url
- Multiple URL’s based on category for one post
- category permalinks
- Remove the parent name from permalink
- Redirect single article permalink to paginated category page
- How to add a post without assigning to a category?
- WordPress alphabetical A-Z custom post type post result display
- Hierarchical permalink structure for posts showing categories and sub-categories
- How can I display tags as categories?
- Echo text using is_tag
- Cannon see subcategory in permalink
- Redirect Changed Permalink on wordpress
- How do I change the category permalink structure?
- List all posts of certain category which share some tags
- Retrieve post tags from from main wp_query
- Pagination breaks on child-categories, works fine on parent-category
- Is the part “category” fixed to an URL to an archive or post?
- Subcategory Page URL to Display Only Posts from that Subcategory?
- display specific category when website loads
- Automatically adding tags and categories into Post Excerpt for searching
- Can I show category name in url for only one of my categories?
- Return all Tags and Categories in Separate List
- How to filter tags by category?
- How to set the same base url for two different taxonomies?
- Get multiple category names from permalink
- Count how many posts have a specified tag AND category
- How to prevent tag “iframe” from being deleted from the heading description of rubric?
- Include a page’s “category” in its URL
- Automatically create tags and merge with categories
- Wrong category in URLs accepted like the correct one
- Remove base category gives 404 error
- Custom permalink /%category%/%postname%/ produces 404 on each post
- Balance Tags to the_content Words Length
- custom browse by
- Limit Category/Tag Dropdown To blog_id in Multisite Install With Global Categories/Tags
- WordPress Category url redirects to subdomain
- Categories and Tags Conflict after Woocommerce Installation
- How can I add metaboxs to Admin Bar?
- Split posts into 2 separate streams
- How to add an “All” category to the tag cloud?
- Exclude posts with certain tags in category archive
- Getting Post Tags From Certain Categories
- /blog/ permalink prefix causes category pages to 404
- How to add an empty entry to masonry?
- Own Custom Tags/Category page ( posts)
- Tracking multiple tags or categories
- How to load jquery tag-it plugin into admin?
- Modify functions.php to add a term ‘uses-theme’ set to theme name on post save
- Change next_post and previous_link to navigate throught parent categories only
- Using pagination with multiple loops causes it to break
- Create custom Perma link
- Query posts that have all the specified tags
- Multiple Parent Category URLs
- Moving Blog and Changing URL
- In my wordpress admin panel Suddenly The Category, tag and featured Image Option are not showing
- Use same wordpress category base and tags as the prefix as the post permalink
- How to remove the category from the url only for a specific category of articles on wordpress