If I understood you right the following is what you need:
$term_link = get_term_link( $term, 'genre1' );
// if there is no error print the link
if( !is_wp_error( $term_link ) )
echo '<li><a href="' . $term_link . '">' . get_the_title() . '</a></li>';
Related Posts:
- How do I append multiple taxonomies to the URL?
- Custom Post Type: How to display all of same taxonomy?
- Remove “-2” from a Toolset Types URL with the same post name
- Get all taxonomies for all post types
- Remove Taxonomy Slug when No Taxonomy is Assigned to Custom Post Type?
- Order WordPress Custom Taxonomy Pages & Pagination Not Working
- Why are taxonomy terms not saving when using custom meta boxes with radio button taxonomy selectors?
- Different Category system needed for the Custom Post Type
- Query custom post types & Taxonomies and list them in a table on a page
- How to get post count of specific taxonomy that have store name & category
- Duplicate slug/permalink issue while adding same post name
- Filter taxonomy by CPT
- Taxonomies are not showing in the category dropdown
- Custom Taxonomy – fields
- tax_query not working?
- Looping taxonomy in taxonomy?
- Is it possible for post and custom post type to share a category base slug?
- Remove taxonomy slug from a custom hierarchical taxonomy permalink
- Shouldn’t this be easy?! Custom post type/custom taxonomy permalink
- Custom Post type & Taxonomy URL structure
- Combining Multiple Taxonomies in one URL
- Custom Taxonomy’s Label to change the text appearing in Appearance > Menu
- How to completely disable a taxonomy archive on the frontend?
- How to limit the number of terms (terms acts like categories)
- How can I list all the categories under a Custom Post Type (taxonomy)?
- Taxonomy term in permalink
- Why does a custom post type need the ”hierarchical’ args setting?
- How to modify URL structures in custom post types and taxonomies or terms
- custom post type permalinks with category and tags
- Permalink rewrite with custom post type and custom taxonomy
- Custom Post Type with Nested Taxonomy and Template Files
- How to show term-specific post list, without posts associated with child terms?
- Semantic URL Custom Post Type and Taxonomies permalinks
- Ajax filter with custom taxonomies
- Disable WordPress Recognizing Path as Attachment
- Custom post type taxonomy template
- Is slug “type” reserved and can’t be used in taxonomy rewrite?
- Include taxonomy slug in url?
- Taxonomy Templates
- custom post type and custom taxonomy url conflict
- How to filter out post type meta?
- Custom post types, taxonomies, and permalinks
- Weird problem happening with custom taxonmy when creating/updating posts
- Query Multiple Taxominies Across Multiple Post type’s
- How to display selected taxonomies by their parent
- Custom Field Order by Last Name and First Name
- Update permalinks when new category added to custom post type taxonomy
- Taxonomy custom post type URL
- custom-taxonomy/post_name instead of the default post_type/post_name
- How do I display the taxonomy for a custom post type in an array
- How do I check if the user is on a taxonomy term parent, child or grandchild page?
- Suggested Post and Taxonomy structure
- Custom post with more than one custom taxonomy
- Get the taxonomy of a post hierarchically
- Permalinks: custom post type -> custom taxonomy -> post
- Multiple tag cloud filtering
- Get url.com/post_type/taxonomy/term work!
- Custom Post Type Category Link
- Custom Post type category pages template and loop
- Trying to get custom post of a custom taxonomy
- How can I create an automatic drop down menu with my tags?
- Get taxonomy singular name instead of taxonomy slug inside $taxonomy query
- Custom post type and custom taxonomy 404 on page 2
- Nested Custom Taxonomies | Incorrect posts when querying
- Ideas on how to organize a project [closed]
- Commas not displaying in implode
- Custom Post Type with modified permalink structure results in 404
- Change permalinks for custom post type based on taxonomy term
- Multiple permalinks for a single post with multiple taxonomies
- Custom front-end form for adding post – Category problem
- update custom taxonomy custom fields
- How do you create pillar content pages?
- Custom permalink structure for custom post types including multiple taxonomy
- Custom post type single page returning 404 error when sharing archive url with custom taxonomy
- Customise Permalink Structure For Custom Post Types
- Issue with Custom Post Types and Permalinks
- Add active class to foundation 6 tabs while looping categories
- Custom post type URL structure with site.com/custom_taxonomy_slug/post_name
- Custom permalink with custom taxonomies for custom post type
- I want to create an archive and single page for a custom taxonomy for a custom post type
- Taxonomy’s title
- Display all posts from single taxonomy term
- Filter By Term Not Working – Custom Post Type
- WordPress query posts by custom post type not workng
- Change the url of a custom post type to include taxonomy
- Permalinks when using Custom Post Type with static page for archive
- How to change permalinks to taxonomy and post type’s posts
- Custom Search not working
- Custom post type post taxonomies
- Parent cpt/child custom post type URL permalink relationship
- Custom Post Type Permalinks Problem
- Problems with custom post type and hierarchical permalinks
- List custom taxonomy terms
- Remove slug from Custom Category Permalink + dual-category permalinks
- WordPress Set A Static Page/Template For All Sub-Pages
- Display associated taxonomy child name on single CPT page
- Issue On Listing Woocommerce Parent Tag List
- Display ONLY ONE $term (Out of 4 terms) from a Custom Taxonomy and CPT
- Taxonomy listing issue – does not display how I would like
- Taxonomy Archive URL + Template