If anyone else is looking for this in the future, the result I came up with is this one…
/* Filter Custom Taxonomy Tag HTML Links */
function custom_term_link_url($content) {
$current_path="news-tag";
$new_path="news/tag";
$content = str_replace($current_path, $new_path, $content);
return $content;
}
add_filter('term_link', 'custom_term_link_url');
It will run code on Taxonomy Links. I still need to add in functionality to work with more then 1 custom taxonomy but this is a good start and works for 1
Related Posts:
- How to remove the tag cloud from custom taxonomy admin page?
- Custom columns on edit-tags.php main page
- custom post type taxonomy “tag” archive : no post found
- Exclude Specific Term from Search
- Can I turn off write-in tags/taxonomies?
- Is it possible to use one slug for Multiple Taxonomies?
- Widget to display custom taxonomy tag cloud
- Post tags saving as both tag name & tag ID on post update when tags are displayed as checkboxes
- Non-hierarchical custom taxonomy using checkboxes on edit-screen -> saving issue
- How to display and use all existing tags at my write-post-at-frontend-panel?
- how to get title to custom tags page
- How do I display a tag cloud with both post tags AND a custom taxonomy?
- Can I turn off write-in tags/taxonomies?
- WordPress renames slug of tags used in multiple taxonomies?
- Allow only 1 instance of each term in each custom taxonomy
- How do I make a custom taxomony appear like tags?
- Make tag cloud links consistent
- How to adjust code to refresh a dropdown box with tags that are active on filtered category listing
- Metabox to list/store a certain type of post tag
- Sorting Tags by Slug Value
- Extend & Search Native WordPress Image Galleries With Tags and Taxonomies?
- How to filter a post in the Tag Cloud widget, using tags of a media library image attached to the post?
- Replace taxonomy permalinks
- Front-End Custom Taxonomy Tag Select
- Create custom taxonomy and Display in metabox dropdown
- Problem with removing post tags programmatically
- How to get custom category’s link?
- saving meta/custom field to tag
- Changing input type from text to multi select dropdown – skill taxonomy
- Displaying user selected custom tags/taxonomies on the front-end
- Featured Images for Tags?
- Displaying the post count of all custom taxonomy terms in a list format
- Automatically tag posts based on user-defined words [closed]
- making an index from custom taxonomies and tags of posts (not hierarchical taxonomy)
- Set two terms for a post when they differ only by an accent
- Get tags name under custom taxonomy in wordpress
- Filter Tags for current users
- Limit Tag Links in Post Content
- Change the Page Title of the Archive Page for Portfolio Tags
- Using wp_tag_cloud with only current post tag with special class
- Get Posts by tag from a custom taxonomy
- Display the first tag assigned to a post
- Display custom post taxonomies
- How to randomise a custom taxonomy tag cloud
- How do i change the tags and taxonomies
- Any way to make custom taxonomy field searchable?
- How to get tags with custom taxonomy field?
- Primary Taxonomy for Post
- Group custom taxonomies based on tags contained in their posts
- How to modify a taxonomy that’s already registered
- Why is my working Custom Taxonomy not in get_taxonomies array?
- Custom taxonomy listing page when no term set (all terms)
- Custom order of terms for custom taxonomy in admin and website
- RSS Feed for posts containing any term from a taxonomy
- Exclude Child Term Posts from Parent Term Archive
- Taxonomies not appearing in columns on dashboard
- Custom taxonomy template not working
- List only first-level children of specific custom taxonomy term
- Sorting Posts Via Custom Taxonomy Values Using Checkboxes?
- get_terms of post->id
- get / list categories and counts filtered by custom taxonomy term
- Get ID and slug from taxonomy object
- Change Permalink Structure for Tag.php template
- wp_insert_post not updating custom taxonomy selected if logged in as a subscriber
- Is it possible to get all term items from a custom taxonomy regardless of post attachment status?
- Filter WooCommerce admin products list by a custom taxonomy
- Adding content to a taxonomy metabox
- Getting values of a custom taxonomy dropdown
- What is faster: custom taxonomy or serialized post-meta for db retrieval? (over 60,000 posts)
- Get taxonomy based on another taxonomy slug
- How does WordPress Parent-Child Taxonomy actually Works?
- Custom taxonomy archive shows 404 error
- Different single page templates for taxonomies
- Can’t set custom taxonomy terms via custom form
- How to get Tags with specific post id
- If Custom Taxonomy
- What does ‘category__in’ mean in queries?
- Use the same taxonomy twice on the same post type?
- When filtering query on custom taxonomy; main menu dissapears
- Get only immediate children (and not grandchildren) of a hierarchical custom taxonomy term
- How to group all terms children’s in custom taxonomy?
- How do I get term data associated with the current post, where the result is not wrapped in HTML?
- Custom taxonomies mixed into categories and tags in Post edit page
- How to get product order by two custom taxonomy in wordpress
- Custom Taxonomy Not Saving in Front End Post
- How to list Custom Taxonomy
- Taxonomy archive template not working
- Creating a drop-down and filter button for two custom taxonomies assigned to a custom post type
- custom taxonomies on pages
- Unknown column ‘wp_posts.ID’ in ‘field list
- Conditional if is single and part of the custom taxonomy
- Get all users attached to a taxonomy
- List active taxonomy terms
- How do you move custom fields to custom taxonomies using WP Queries
- Where to put code to get custom taxonomy term id?
- Select default taxonomy on dropdown
- Taxonomy Extra Meta [duplicate]
- How can I query for all values of a custom taxonomies?
- get_terms() – unexpected ‘=>’ (T_DOUBLE_ARROW) error
- Gravity Forms with Advanced Post Creation Add-On not updating ACF fields on custom taxonomy