add post-thumbnail support

This commit is contained in:
Holger Koenemann 2014-12-11 17:50:47 +01:00
parent 599d31a377
commit 6a75eaea6b
1 changed files with 4 additions and 1 deletions

View File

@ -88,4 +88,7 @@ add_filter('show_admin_bar', '__return_false');
function new_excerpt_more( $more ) {
return ' <p><a class="read-more btn btn-default" href="'. get_permalink( get_the_ID() ) . '">' . __('Read More', 'understrap') . '</a></p>';
}
add_filter( 'excerpt_more', 'new_excerpt_more' );
add_filter( 'excerpt_more', 'new_excerpt_more' );
/* Add support for Featured Images per Post */
add_theme_support( 'post-thumbnails' );