×

Welcome to TagMyCode

Please login or create account to add a snippet.
0
0
 
0
Language: Text
Posted by: Eric De Kock
Added: Mar 27, 2017 1:39 AM
Views: 6
Tags: no tags
  1. <?php
  2.  
  3. // custom excerpt length
  4. function themify_custom_excerpt_length( $length ) {
  5.    return 20;
  6. }
  7. add_filter( 'excerpt_length', 'themify_custom_excerpt_length', 999 );
  8. ?>