The featured image function, as the codex explains, allows the author to choose a representative image for Posts, Pages or
Custom Post Types.
To enable this functionality, include the following code in your functions.php:
add_theme_support( 'post-thumbnails' );
We could stop there and leave it up to WordPress to define the thumbnail sizes or we could take control and define them
ourselves. We’ll do the latter, obviously!
Custom Post Types.
To enable this functionality, include the following code in your functions.php:
add_theme_support( 'post-thumbnails' );
We could stop there and leave it up to WordPress to define the thumbnail sizes or we could take control and define them
ourselves. We’ll do the latter, obviously!