• Resolved rsmith4321

    (@rsmith4321)


    Is there a way to change the thumbnail size loaded in the recent posts grid? I did a temporary fix in the code like below, is there a way I can make this change permanent? Or perhaps a selection could be added in the block, thanks.

    if( $attributes[‘imageCrop’] === ‘landscape’ ) {
    $post_thumb_size = ‘medium’;
    } else {
    $post_thumb_size = ‘ab-block-post-grid-square’;
    }

Viewing 1 replies (of 1 total)
  • Plugin Author atomicblocks

    (@atomicblocks)

    Hi there,

    That’s probably the best way to handle the image size for now. There may be an option in the future to do this via the block settings, but for now it’s best to customize as needed with a function.

Viewing 1 replies (of 1 total)

The topic ‘Post Grid Thumbnail Size’ is closed to new replies.