title: WordPress limit excerpt length characters don't work
body: <p>I don't understand why my code don't work in my WordPress thème.
  For limit excerpt length characters I add this in my files functions.php : </p>
  
  <pre><code>function va_custom_excerpt_length() {
      return 20;
  }
  add_filter( 'excerpt_length', 'va_custom_excerpt_length', 999 );
  </code></pre>
  
  <p>and this in home.php</p>
  
  <pre><code>&lt;div class="article-ex"&gt;
      &lt;?php the_excerpt(); ?&gt;
  &lt;/div&gt;
  </code></pre>
  
  <p>This code returns all the extract and not 20 characters</p>
  
  <p>TY do much for help. 
  Vincent</p>