Changing thumbnail size (2 posts)

  1. edupison
    Posted 3 years ago #

    Hello! I'm trying to change the size of the featured image, but I'm not being capable. I've tried:

    the_post_thumbnail( array(280,160) );

    And included in functions.php this:

    add_theme_support( 'post-thumbnails' );
    set_post_thumbnail_size( 280, 160, true );

    But it only obbeys the height parameter. Why is that? Any idea?

    Thanks a lot!

  2. edupison
    Posted 3 years ago #

    Nobody can help? I can't understand why it isn't working. Is it impossible to set an horizontal cropped featured image?

Topic Closed

This topic has been closed to new replies.

About this Topic