girlieworks on "My featured image posts are resizing"

ساخت وبلاگ

johnabrahamhodge
Member
Posted 47 minutes ago #

For some reason my blog featured images aren't posting in full-size. I don't want these to be resized to 600-something pixels, I want them to 920 only. Does anyone know how to make that happen?

Here's an example: https://johnhodge.us/blog/marketing-automation-hopes/

girlieworks
Member
Posted 4 minutes ago #

@johnabrahamhodge: This code in the Fruitful theme's functions.php file would account for that:

set_post_thumbnail_size( 604, 270, true );

So, you could create a Child Theme and use a similar line of code in its functions.php file to override it.

(Note that you'll probably also want to use a plugin like Regenerate Thumbnails after you activate the Child Theme.)

WordPress ...
ما را در سایت WordPress دنبال می کنید

برچسب : نویسنده : استخدام کار wpss بازدید : 259 تاريخ : چهارشنبه 5 خرداد 1395 ساعت: 0:59