title: Wordpress : exclude a term from the_terms()
body: <p>I'm using a theme for a customer. </p>
  
  <p>To display post taxonomies, the theme use the_terms(). It is working well. But I have a featured category that I do not want to display. So basically, I need something to check if the current term != "featured" for that function (the_terms() is used on the whole templates).</p>
  
  <p>I read the codex ( <a href="http://codex.wordpress.org/Function_Reference/the_terms#Parameters" rel="nofollow">http://codex.wordpress.org/Function_Reference/the_terms#Parameters</a> ), but there's nothing about excluding particular terms...</p>
  
  <p>The code (not helpful but someone asked me): </p>
  
  <pre><code>&lt;?php the_terms($post-&gt;ID, 'portfolio_category', '', ', ', ''); ?&gt;
  </code></pre>
  
  <p>Any help ?</p>
  
  <p>EDIT :
  Now I can filter the terms with : </p>
  
  <pre><code>add_filter('get_the_terms', 'modify_term_list', 1);
    function modify_term_list($terms){
    foreach($terms as $term_index =&gt; $term_object){
      if($term_object-&gt;name === 'A la une'){
        unset($terms[$term_index]);
        return $terms;
      }
    }
  }
  </code></pre>
  
  <p>The term "A la Une" (featured) is not displaying no more. But on the 4 terms I got, only one is now displayed.</p>