title: Link to custom post type category
body: <p>Hello I've made custom post type and add categories(taxonomies) to this. So I have custom post type called portfolio with a few categories for example: websites, logo, etc. and I want to get link to this categories. I tried like this: </p>
  
  <pre><code>&lt;?php
      // Get the ID of a given category
      $category_id = get_cat_ID( 'Website' );
      $id = get_term_by('name', 'Website', 'portfolio_category');
  
      // Get the URL of this category
      $category_link = get_category_link( $category_id );
  
  ?&gt; 
  </code></pre>
  
  <p>But it doesn't work. How can I get the link to this custom post type categories.</p>