Support Forum

Please login to receive premium support.

Support for the free plugin can be found here.

Home Forums Pro Support Setting a custom image size for the featured post Reply To: Setting a custom image size for the featured post

#18850
Carol
Participant

Hi,

I’m still having trouble getting it to work, but I’m wondering if I’m doing it wrong.

I updated function.php, line 193 in this file: /wp-content/plugins/wp-show-posts/inc/function.php

I then added the filter to this file: /wp-content/themes/generatepress_child/function.php

I changed the filter ID to match the list ID.
I changed line 3 to:

return ‘full’ (because of space issues, we don’t have our WP create any large images.)

Then in WP Show Posts settings, I set the image size to 400px W x 400 px H — because we want them to be square.

I’m seeing the featured image as a square again and wondering where I went wrong.

Thanks!
Jennifer