Use the Post Featured Image block to display the featured image of a post. This block is primarily nested inside a query loop block and helps to customize the appearance of the query loop.
To add a Post Featured Image block, click the Block Inserter icon when editing the page template. Search for the Post Featured Image block. Click on it to add the block to your page template.
You can also type /post-featured-image and hit enter in a new paragraph block to add the Post Featured Image block quickly.
Detailed instructions on adding blocks
To view the block toolbar, click on the block and the toolbar will be displayed.
Every block comes with unique toolbar icons. These block-specific controls allow you to manipulate the block right in the editor.
The Post Featured Image block shows six buttons in the block toolbar:
- Transform to
- Drag icon
- Move arrows
- Change alignment
- Apply duotone filter
- More options
Click on the “Transform” button to convert the Post Featured Image block into a “Group” block or “Columns” block.
To drag and drop the block to a new location on the page template, click and hold the rectangle of dots, then drag to the new location. The blue separator line indicates where the block will be placed. Release the left mouse button when you find the new location to place the block.
The up and down arrow icons can be used to move the block up and down on the page.
Get more information about moving a block within the editor.
- None – Leaves the block the current size.
- Wide width – Increase the width of the block beyond the content size.
- Full width – Extend the block to cover the full width of the screen.
- Align left – Make the block left-aligned.
- Align center – Make the block center aligned.
- Align right – Make the block right aligned.
Apply duotone filter
You can create a two-tone color effect (called the duotone effect) on the featured image without actually changing the original image. The duotone effect works best on high-contrast images.
You can pick the two colors for the effect from the list of six duotone presets provided in the drop-down.
- Foreground and background
- Foreground and secondary
- Foreground and tertiary
- Primary and background
- Primary and secondary
- Primary and tertiary
These are based on the foreground, background, primary, secondary and tertiary colors set in the theme’s color palette.
You can also pick your own colors for the shadows and highlights by clicking on the Shadows /Highlights option which opens up the color picker and selecting your custom color from the color palette.
To clear all the changes you made, use the clear button at the bottom right corner.
The More option on a block toolbar gives you more features to customize the block. You have the option to copy, duplicate, and edit your block as HTML.
Read about these and other settings.
In addition to the block toolbar, every block has specific options in the editor sidebar.
If you do not see the sidebar, click the ‘cog’ icon next to the Save button.
Turn on the ‘Link to post’ button in the Block Settings to link the featured image to the URL of the post. This enables the website visitor to go to the post by clicking on the Featured image.
Click on the ‘+” icon to the right of Dimensions to explore the Dimensions Settings for the block. Dimension controls are used to control how groups of blocks are placed alongside one another, by changing the values for padding, margin, and other dimensions
Learn more about dimension controls.
The “Advanced” tab lets you add CSS class(es) to your block. This will allow you to write custom CSS and styles to the block.
- Created on 2022-03-17
Was this article helpful? How could it be improved?
Log in to submit feedback. If you need support with something that wasn't covered by this article, please post your question in the support forums.