Advertisement
Guest User

Untitled

a guest
May 14th, 2013
77
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. <?php
  2. if ( function_exists('register_sidebar') )
  3.     register_sidebar();
  4.  
  5. function custom_excerpt_length( $length ) {
  6.     return 20;
  7. }
  8.  
  9. add_filter( 'excerpt_length', 'custom_excerpt_length', 20 );
  10. ?>
Advertisement
Advertisement
Advertisement
RAW Paste Data Copied
Advertisement