Posted by %3$s', 'twentyeleven' ),
esc_url( get_author_posts_url( get_the_author_meta( 'ID' ) ) ),
esc_attr( sprintf( __( 'View all posts by %s', 'twentyeleven' ), get_the_author() ) ),
get_the_author()
);
}
function custom_excerpt_length( $length ) {
return 85;
}
if ( function_exists( 'add_theme_support' ) )
add_theme_support( 'post-thumbnails' );
add_filter( 'excerpt_length', 'custom_excerpt_length', 999 );
// Remove Windows Live Writer link in header
// Do Not do this if you use it
remove_action('wp_head', 'wlwmanifest_link');
remove_action('wp_head', 'rsd_link');
// Remove WP version info
function hide_wp_vers()
{
return '';
} // end hide_wp_vers function
add_filter('the_generator','hide_wp_vers');
if ( function_exists( 'add_theme_support' ) )
add_theme_support( 'post-thumbnails' );
endif;