Skip to content
CoverKit CoverKit v0.1.13

Featured image

The Featured image use case replaces the post thumbnail visitors see on your site (archives, singular templates, and similar) with an image CoverKit generates from your template and field mappings. Your saved WordPress featured image attachment is not removed—it stays in the media library and can still feed the Featured image mapping source.

CoverKit swaps thumbnail HTML and URLs on the front end when:

  • A published CoverKit template has this use case enabled
  • The displayed post’s type is listed in the use case Post types setting
  • The post is eligible for field collection (published, viewable content)

In wp-admin, the block editor Summary panel and the classic editor featured-image box can show a CoverKit preview while you edit.

SettingPurpose
Post typesWhich content types use this template for thumbnails (singular views and loops such as the blog index, archives, and search). Leave none selected to never match.
Alt textOptional alt text on the generated <img>

Canvas size comes from the template’s width and height meta—not a fixed social crop.

Map Featured image when your design should include the current post thumbnail (for example a photo inset). Other post and site fields work the same as on other use cases.

When you edit a post, the Summary Featured image control can show the CoverKit preview URL. It updates when you change the assigned template, use case settings, or replace the featured media (even before save, when the editor sends the current media ID).

  1. Enable Featured image on a published template and map the fields your layout needs.
  2. Set Post types to include the content you are testing.
  3. View the post on the front end (or in a post list) and confirm the thumbnail loads from a coverkit/v1/use-case/featured_image/... URL.
  4. If the design changed but the image did not, clear the template cache.
Featured imageOpen Graph image
AudienceVisitors on your siteSocial crawlers and link previews
OutputReplaces the_post_thumbnail() outputog:image meta tags
Typical canvasYour template dimensions1200×630 recommended

You can enable both on the same template.