Featured image size
-
Hi there,
I’m breaking my head over this, searched the internet… But I can’t figure out what I’m doing wrong here…
I’m building a theme and on the homepage I want the thumbnails/featured image to be 290 pixels wide and 190px in height, whatever I do I can’t get it working…
Functions.php:
if(function_exists('add_theme_support')) add_theme_support('post-thumbnails'); set_post_thumbnail_size( 290, 190, true );Index.php:
<?php the_post_thumbnail(); ?>
I’ve tried so many types of code here, none of them is working…
Site: http://www.brittvannoord.nl/alcatraz/Can someone please tell me what to use in functions.php and what in my index.php. I’ve been over this so many times I lost track of wrong and right..
Thanks in advance,
Britt
Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
The topic ‘Featured image size’ is closed to new replies.