Featured Image Size

  • These are all the pre-set image sizes in Motif, taken directly from the theme’s functions.php file:

    // Post thumbnails
    set_post_thumbnail_size( 705, 435, true );
    // Hero Image on the front page template
    add_image_size( 'motif-hero-thumbnail', 1140, 610, true );
    // Full width and grid page template
    add_image_size( 'motif-page-thumbnail', 1072, 435, true );
    // Grid child page thumbnail
    add_image_size( 'motif-grid-thumbnail', 334, 233, true );
    // Testimonial thumbnail
    add_image_size( 'motif-testimonial-thumbnail', 90, 90, true );

    If you look at the browser source for one of the grid child pages – like this one – you’ll see that the size of the featured image is 1072 by 435:

    <div class="entry-thumbnail">
    <img class="attachment-motif-page-thumbnail wp-post-image" width="1072" height="435" alt="The Border Ordeal" src="https://johnbrennanlive.files.wordpress.com/2015/02/timor-sea.png?w=1072&h=435&crop=1">
    </div>
  • The topic ‘Featured Image Size’ is closed to new replies.