The Post Featured Image block displays the featured image of a WordPress post. This block is used within Post Template blocks to show post images.
Adding a Post Featured Image Block
- Add aย Query Loop blockย andย Post Template blockย first
- Inside the Post Template, click theย “+”ย button
- Search forย “Post Featured Image”ย or find it in theย “Theme”ย category
- Click to insert the block
Note: This block only works within Post Template blocks.
Image Settings
Link to Post
- Link to Post: Toggle to make the image a clickable link to the post
- Open in New Tab: Choose whether the link opens in a new browser tab
Image Size
Control the size of the featured image:
- Thumbnail: Small image size
- Medium: Medium image size
- Large: Large image size
- Full Size: Original image size
Alignment
- Left: Image aligns to the left
- Center: Image is centered (default, recommended for email)
- Right: Image aligns to the right
Styling Options
Borders
- Border Color: Choose a border color
- Border Radius: Round the corners (limited support in email)
- Border Style: Solid, dashed, dotted, etc.
- Border Width: Set border thickness
Spacing
- Padding: Add spacing around the image
Best Practices
- Appropriate Size: Use appropriate image sizes for email (not too large)
- Optimize Images: Ensure featured images are optimized for email
- Link Images: Consider making images clickable links to posts
- Mobile-Friendly: Test how images appear on mobile devices
- Alt Text: Featured images should have alt text (set in WordPress)
Troubleshooting
Image Not Displaying
- Verify the post has a featured image set
- Check that the image URL is accessible
- Test in multiple email clients
- Some email clients may block images
Image Too Large
- Adjust image size settings
- Optimize images before uploading to WordPress
- Consider using medium or large sizes for email
Link Not Working
- Verify “Link to Post” is enabled
- Check that the post URL is correct
- Test links in actual email clients
Additional resources
Use the links below for more information and guidance on adding blocks. Keep in mind that these articles are general information related to the WordPress Editor and building with blocks. Email Customizer does not utilize all blocks or functionality due to the limited capabilities of emails.
WordPress Editor