Add featured images
-
Hello!
I need a customized size for my featured image, and I added the following theme code:
Functions.php
if ( function_exists( 'add_theme_support' ) ) { add_theme_support( 'post-thumbnails' ); add_image_size( 'homepage-thumb', 300, 150 ); }
home.php
the_post_thumbnail('homepage-thumb')
But my featured image at home.php remains as 200 x 150. (I tried to upload a new image and set it as featured post image)
It is a different behave when you are working in a multisite network?
Thanks a lot!
Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
- The topic ‘Add featured images’ is closed to new replies.