Post Featured Image Block

Go to the List of Blocks

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.

Video showing how to add Post Featured Image block

You can also type /post-featured-image and hit enter in a new paragraph block to add the Post Featured Image block quickly. 

Add Post Featured Image block quickly
Add Post Featured Image block quickly

Detailed instructions on adding blocks

Block Toolbar

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
Post Featured Image block toolbar
Post Featured Image Block Toolbar

Transform to:

Transform options for the Post Featured Image block
Transform options for the Post Featured Image block

Click on the “Transform” button to convert the Post Featured Image block into a “Group” block or “Columns” block. 

Drag icon:

Drag icon in the Post Featured Image block
Drag icon in the Post Featured Image 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.

Move arrows:

Move arrows in the Post Featured Image block
Move arrows in the Post Featured Image 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.

Change alignment:

Change alignment options in the Post Featured Image block
Change alignment options in the Post Featured Image block
  • 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.

Top ↑

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. 

  1. Foreground and background
  2. Foreground and secondary
  3. Foreground and tertiary
  4. Primary and background
  5. Primary and secondary
  6. Primary and tertiary

These are based on the foreground, background, primary, secondary and tertiary colors set in the theme’s color palette.

Apply duotone filter in the Post Featured Image block
Apply duotone filter in the Post Featured Image block

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. 

Video showing how to apply duotone filter

To clear all the changes you made, use the clear button at the bottom right corner.

More option

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.

More options in the Post Featured Image block
More options in the Post Featured Image block

Read about these and other settings.

Top ↑

Block 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.

How to turn on the Block Settings sidebar
How to turn on the Block Settings sidebar
Block Settings in the Post Featured Image block
Block Settings in the Post Featured Image block

Top ↑

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.

Link settings in the Post Featured Image block
Link settings in the Post Featured Image block

Top ↑

Dimensions

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

Dimension settings in the Post Featured Image block
Dimension settings in the Post Featured Image block

Learn more about dimension controls.

Advanced settings

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.

Advanced option in the selected Block
Advanced option in the selected Block

Top ↑

Changelog:

  • Created on 2022-03-17

Was this article helpful? How could it be improved?