I want help finding where and just how to alter the dimensions and crop of the featured image inside a publish. I have looked in functions.php and init.php, but without results. I am utilizing a child theme from the inLine theme.
The present height is placed for 130px.
I have attempted altering the css, but that only stretches the look.
Inside your functions.php, paste one of these simple and adjust pixel width and height the way you like:
set_post_thumbnail_size( 100, 100 ); // 100 pixels wide by 100 pixels tall, box resize mode
set_post_thumbnail_size( 100, 100, true ); // 100 pixels wide by 100 pixels tall, hard crop mode
Do that in functions.php:
add_image_size( 'name-of-your-image-size', 600, 300, true );
Or maybe you'd like to make use of a wordpress plugin-
After which inside your publish, retrieve it like so inside your single.php or loop:
<?php the_post_thumbnail('name-of-your-image-size'); ?>