Skip to content

Instantly share code, notes, and snippets.

@dmackerman
Created October 15, 2012 19:18
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save dmackerman/3894541 to your computer and use it in GitHub Desktop.
Save dmackerman/3894541 to your computer and use it in GitHub Desktop.
<?php
// This theme uses post thumbnails
add_theme_support( 'post-thumbnails' );
// Add default posts and comments RSS feed links to head
add_theme_support( 'automatic-feed-links' );
function custom_excerpt_length( $length ) {
return 80;
}
add_filter( 'excerpt_length', 'custom_excerpt_length', 999 );
?>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment