- Free pattern
- 3 looks
- Core blocks
- No plugin
- WordPress 7.0+
Post header
Single-post furniture, built as a lit plate on an unlit band: the post's category, title and byline sit on a paper plate held to 74% of the measure, while the publication date hangs outside it on the ink, aligned to the plate's foot. Dynamic core blocks, so it shows the post it is placed on; the preview here is our sample content. Drop it into a single template, above the content. States no colour and no font of its own.
Free to copy, no account needed.
That one is yours to keep. The other 483 patterns and their variations are £49 a year.Subscribe
Page header patterns22 of 22
1 lookArticle opener
5 looksCover plate
2 looksPage header apps feed
2 looksPage header asked
7 looksPage header cover strip
2 looksPage header display index
2 looksFacts beside the title
2 looksPage header initial
4 looksPage header lap
2 looksPage header meta
2 looksPage header notch
2 looksPage header price line
2 looksPage header room plate
11 looksPage header rule
2 looksPage header seam word
2 looksPage header shear
2 looksPage header stepped
2 looksPage header title photo
3 looksPage header town
2 looksPage header trail
2 looksPage header triptych
ViewingPost header
The signature moment
The date is outside the plate
Single-post furniture: the post's category, title, byline and date, set as a lit plate on an unlit band. Core blocks only, but four of them are DYNAMIC: core/post-terms, core/post-title, core/post-author-name and core/post-date, plus core/group and core/columns around them.
The plate holds three of the four facts and the fourth hangs beside it. The band runs edge to edge in your contrast colour; the plate is your base colour and takes 74% of the 1240 measure, so the ink shows as a wide margin down the right. The publication date sits in that margin, bottom-aligned with the plate's foot, in the band's own light type. Nothing else is out there.
That is the composition, and it is doing two jobs. It gives the header an asymmetry that survives colourlessness, and it puts the one fact a reader scans for where a reader scans for it, without spending a row of the plate on it.
Inside the plate the ramp is a collapse, on the same principle as page-header-rule: a 13px category at 0.22em, then the title at up to 68px, then a currentColor hairline, then the byline back at 13px against the author name at 18px.
Making it yours
What to change first in Post header
- The date column's width. It is 26%. A long date format wants more.
core/post-terms. Shipped withterm: category. Change it topost_tagfor a tags header, or delete it and the collapse starts at the title.- The byline label. "Words by" is an ordinary paragraph beside
core/post-author-name, so it takes any wording; the author's name is the dynamic half. - The title ceiling.
clamp(2.25rem, 5.4vw, 4.25rem). Long post titles are the normal case here, so this is lower than a page header's; raise it only if your titles are short. - The finish. Ship the base where the post deserves an announcement, and
header-paperwhere the page should stay quiet.
What it inherits from your theme
- The typeface. No font family is stated. The effect is tracking, scale and the plate.
- Your colours. The band asks for
contrastand the plate forbase, each ending on a colour WordPress itself guarantees, so neither can resolve to nothing. The hairline in the plate iscurrentColor. - Your spacing scale. Every vertical measure is a spacing preset, so the header is roomier in Twenty Twenty-Four than in Twenty Twenty-Five and that is inheritance working. Measured at 1400: 570px in Twenty Twenty-Four, 384px in Twenty Twenty-Five.
- The category link's colour is NOT inherited, on purpose.
core/post-termsalways renders anchors, and an anchor carries a colour rule of its own that beats anything the group hands down. So the block statesstyle.elements.link.color.textas well as its text colour, and the category is the same ink as the title in every theme.
What it decides for itself
- Full bleed with a 1240px measure, and a plate at 74% of it.
- The plate is the only lit ground, so every link in the pattern sits on paper. That is deliberate: a theme paints its links from
theme.json, and a category link on an ink ground can land ink on ink with nothing to warn you. h1, with its own explicit colour, because a theme's heading element style beats a colour inherited from the wrapping group.- Bottom alignment. The columns row is
verticalAlignment: bottomand both columns restate it, because a columns-level alignment alone does nothing on the front end.
Looks
Post header in 3 looks
- Plate on ink (the default)
- Your contrast as the band, your base as the plate, and the post's own category, title, byline and date filling it. The date is the one fact that sits outside the plate, so the header has something in its right margin other than air.
- Counsel
- The Counsel law firm set: a navy band with a paper plate in ink, the date outside it in white, the post's own title in Rufina over Red Hat Text labels.
- Ruled slip
- The inversion: the band gives up its ink and becomes the page's own paper, and the plate becomes a slip bounded by a currentColor hairline. Same four facts, same measure, no filled ground anywhere.
Specifications
- Section
- Page header
- Access
- Free
- Plugin
- None, core blocks only
- Variations
- 3
- Colour
- From your theme or its own palette
- Type
- From your theme or its own type
- Motion
- None
- Blocks
- column, columns, group, paragraph, post-author-name, post-date, post-terms, post-title
- Presets
- color 5, spacing 3
- WordPress
- 7.0+
Questions
Post header: common questions
Does Post header need a plugin?
No. It is built only from core WordPress blocks (column, columns, group, paragraph, post-author-name, post-date, post-terms and post-title), so it pastes into the block editor with nothing to install.
How many looks does Post header come in?
3: Plate on ink, Counsel and Ruled slip.
Will Post header match my theme?
Choose by look. Plate on ink and Ruled slip take your theme’s palette; Counsel brings its own colours.
<!-- wp:group {"align":"full","style":{"color":{"background":"var(--wp--preset--color--contrast, var(--wp--preset--color--black))","text":"var(--wp--preset--color--base, var(--wp--preset--color--white))"},"spacing":{"padding":{"top":"var:preset|spacing|50","bottom":"var:preset|spacing|50","left":"clamp(1.25rem, 4vw, 4rem)","right":"clamp(1.25rem, 4vw, 4rem)"},"blockGap":"0"},"elements":{"heading":{"color":{"text":"currentColor"}},"link":{"color":{"text":"currentColor"}}}},"layout":{"type":"constrained","contentSize":"1240px"}} -->
<div class="wp-block-group alignfull has-text-color has-background has-link-color" style="color:var(--wp--preset--color--base, var(--wp--preset--color--white));background-color:var(--wp--preset--color--contrast, var(--wp--preset--color--black));padding-top:var(--wp--preset--spacing--50);padding-right:clamp(1.25rem, 4vw, 4rem);padding-bottom:var(--wp--preset--spacing--50);padding-left:clamp(1.25rem, 4vw, 4rem)"><!-- wp:columns {"verticalAlignment":"bottom","style":{"spacing":{"blockGap":{"top":"var:preset|spacing|40","left":"var:preset|spacing|50"}}}} -->
<div class="wp-block-columns are-vertically-aligned-bottom"><!-- wp:column {"verticalAlignment":"bottom","width":"74%"} -->
<div class="wp-block-column is-vertically-aligned-bottom" style="flex-basis:74%"><!-- wp:group {"style":{"color":{"background":"var(--wp--preset--color--base, var(--wp--preset--color--white))","text":"var(--wp--preset--color--contrast, var(--wp--preset--color--black))"},"spacing":{"padding":{"top":"var:preset|spacing|40","bottom":"var:preset|spacing|40","left":"var:preset|spacing|50","right":"var:preset|spacing|50"},"blockGap":"0"},"elements":{"heading":{"color":{"text":"currentColor"}},"link":{"color":{"text":"currentColor"}}}},"layout":{"type":"constrained"}} -->
<div class="wp-block-group has-text-color has-background has-link-color" style="color:var(--wp--preset--color--contrast, var(--wp--preset--color--black));background-color:var(--wp--preset--color--base, var(--wp--preset--color--white));padding-top:var(--wp--preset--spacing--40);padding-right:var(--wp--preset--spacing--50);padding-bottom:var(--wp--preset--spacing--40);padding-left:var(--wp--preset--spacing--50)"><!-- wp:post-terms {"term":"category","style":{"color":{"text":"var(--wp--preset--color--contrast, var(--wp--preset--color--black))"},"elements":{"link":{"color":{"text":"var(--wp--preset--color--contrast, var(--wp--preset--color--black))"}}},"typography":{"fontSize":"clamp(0.75rem, 0.85vw, 0.8125rem)","fontWeight":"600","letterSpacing":"0.22em","lineHeight":"1.6","textTransform":"uppercase"}}} /-->
<!-- wp:post-title {"level":1,"style":{"color":{"text":"var(--wp--preset--color--contrast, var(--wp--preset--color--black))"},"spacing":{"margin":{"top":"var:preset|spacing|30","bottom":"0"}},"typography":{"fontSize":"clamp(2.25rem, 5.4vw, 4.25rem)"}}} /-->
<!-- wp:group {"style":{"border":{"top":{"color":"currentColor","style":"solid","width":"1px"}},"spacing":{"margin":{"top":"var:preset|spacing|30"},"padding":{"top":"var:preset|spacing|30"},"blockGap":"0.75rem"}},"layout":{"type":"flex","flexWrap":"wrap","verticalAlignment":"bottom"}} -->
<div class="wp-block-group" style="border-top-color:currentColor;border-top-style:solid;border-top-width:1px;margin-top:var(--wp--preset--spacing--30);padding-top:var(--wp--preset--spacing--30)"><!-- wp:paragraph {"style":{"color":{"text":"var(--wp--preset--color--role-label, var(--wp--preset--color--contrast, var(--wp--preset--color--black)))"},"spacing":{"margin":{"top":"0","bottom":"0"}},"typography":{"fontSize":"clamp(0.75rem, 0.85vw, 0.8125rem)","fontWeight":"600","letterSpacing":"0.22em","textTransform":"uppercase"}}} -->
<p class="has-text-color" style="color:var(--wp--preset--color--role-label, var(--wp--preset--color--contrast, var(--wp--preset--color--black)));margin-top:0;margin-bottom:0;font-size:clamp(0.75rem, 0.85vw, 0.8125rem);font-weight:600;letter-spacing:0.22em;text-transform:uppercase">Words by</p>
<!-- /wp:paragraph -->
<!-- wp:post-author-name {"style":{"color":{"text":"var(--wp--preset--color--contrast, var(--wp--preset--color--black))"},"typography":{"fontSize":"clamp(1rem, 1.15vw, 1.125rem)","lineHeight":"1.4"}}} /--></div>
<!-- /wp:group --></div>
<!-- /wp:group --></div>
<!-- /wp:column -->
<!-- wp:column {"verticalAlignment":"bottom","width":"26%"} -->
<div class="wp-block-column is-vertically-aligned-bottom" style="flex-basis:26%"><!-- wp:paragraph {"style":{"color":{"text":"var(--wp--preset--color--base, var(--wp--preset--color--white))"},"spacing":{"margin":{"top":"0","bottom":"0.5rem"}},"typography":{"fontSize":"clamp(0.75rem, 0.85vw, 0.8125rem)","fontWeight":"600","letterSpacing":"0.22em","textTransform":"uppercase"}}} -->
<p class="has-text-color" style="color:var(--wp--preset--color--base, var(--wp--preset--color--white));margin-top:0;margin-bottom:0.5rem;font-size:clamp(0.75rem, 0.85vw, 0.8125rem);font-weight:600;letter-spacing:0.22em;text-transform:uppercase">Published</p>
<!-- /wp:paragraph -->
<!-- wp:post-date {"style":{"color":{"text":"var(--wp--preset--color--base, var(--wp--preset--color--white))"},"typography":{"fontSize":"clamp(1.0625rem, 1.3vw, 1.25rem)","lineHeight":"1.3"}}} /--></div>
<!-- /wp:column --></div>
<!-- /wp:columns --></div>
<!-- /wp:group -->
Variation: Ruled slip
<!-- wp:group {"align":"full","style":{"color":{"background":"var(--wp--preset--color--base, var(--wp--preset--color--white))","text":"var(--wp--preset--color--contrast, var(--wp--preset--color--black))"},"spacing":{"padding":{"top":"var:preset|spacing|50","bottom":"var:preset|spacing|50","left":"clamp(1.25rem, 4vw, 4rem)","right":"clamp(1.25rem, 4vw, 4rem)"},"blockGap":"0"},"elements":{"heading":{"color":{"text":"currentColor"}},"link":{"color":{"text":"currentColor"}}}},"layout":{"type":"constrained","contentSize":"1240px"}} -->
<div class="wp-block-group alignfull has-text-color has-background has-link-color" style="color:var(--wp--preset--color--contrast, var(--wp--preset--color--black));background-color:var(--wp--preset--color--base, var(--wp--preset--color--white));padding-top:var(--wp--preset--spacing--50);padding-right:clamp(1.25rem, 4vw, 4rem);padding-bottom:var(--wp--preset--spacing--50);padding-left:clamp(1.25rem, 4vw, 4rem)"><!-- wp:columns {"verticalAlignment":"bottom","style":{"spacing":{"blockGap":{"top":"var:preset|spacing|40","left":"var:preset|spacing|50"}}}} -->
<div class="wp-block-columns are-vertically-aligned-bottom"><!-- wp:column {"verticalAlignment":"bottom","width":"74%"} -->
<div class="wp-block-column is-vertically-aligned-bottom" style="flex-basis:74%"><!-- wp:group {"style":{"border":{"color":"currentColor","style":"solid","width":"1px"},"color":{"text":"var(--wp--preset--color--contrast, var(--wp--preset--color--black))"},"spacing":{"padding":{"top":"var:preset|spacing|40","bottom":"var:preset|spacing|40","left":"var:preset|spacing|50","right":"var:preset|spacing|50"},"blockGap":"0"}},"layout":{"type":"constrained"}} -->
<div class="wp-block-group has-text-color has-border-color" style="border-color:currentColor;border-style:solid;border-width:1px;color:var(--wp--preset--color--contrast, var(--wp--preset--color--black));padding-top:var(--wp--preset--spacing--40);padding-right:var(--wp--preset--spacing--50);padding-bottom:var(--wp--preset--spacing--40);padding-left:var(--wp--preset--spacing--50)"><!-- wp:post-terms {"term":"category","style":{"color":{"text":"var(--wp--preset--color--contrast, var(--wp--preset--color--black))"},"elements":{"link":{"color":{"text":"var(--wp--preset--color--contrast, var(--wp--preset--color--black))"}}},"typography":{"fontSize":"clamp(0.75rem, 0.85vw, 0.8125rem)","fontWeight":"600","letterSpacing":"0.22em","lineHeight":"1.6","textTransform":"uppercase"}}} /-->
<!-- wp:post-title {"level":1,"style":{"color":{"text":"var(--wp--preset--color--contrast, var(--wp--preset--color--black))"},"spacing":{"margin":{"top":"var:preset|spacing|30","bottom":"0"}},"typography":{"fontSize":"clamp(2.25rem, 5.4vw, 4.25rem)"}}} /-->
<!-- wp:group {"style":{"border":{"top":{"color":"currentColor","style":"solid","width":"1px"}},"spacing":{"margin":{"top":"var:preset|spacing|30"},"padding":{"top":"var:preset|spacing|30"},"blockGap":"0.75rem"}},"layout":{"type":"flex","flexWrap":"wrap","verticalAlignment":"bottom"}} -->
<div class="wp-block-group" style="border-top-color:currentColor;border-top-style:solid;border-top-width:1px;margin-top:var(--wp--preset--spacing--30);padding-top:var(--wp--preset--spacing--30)"><!-- wp:paragraph {"style":{"color":{"text":"var(--wp--preset--color--role-label, var(--wp--preset--color--contrast, var(--wp--preset--color--black)))"},"spacing":{"margin":{"top":"0","bottom":"0"}},"typography":{"fontSize":"clamp(0.75rem, 0.85vw, 0.8125rem)","fontWeight":"600","letterSpacing":"0.22em","textTransform":"uppercase"}}} -->
<p class="has-text-color" style="color:var(--wp--preset--color--role-label, var(--wp--preset--color--contrast, var(--wp--preset--color--black)));margin-top:0;margin-bottom:0;font-size:clamp(0.75rem, 0.85vw, 0.8125rem);font-weight:600;letter-spacing:0.22em;text-transform:uppercase">Words by</p>
<!-- /wp:paragraph -->
<!-- wp:post-author-name {"style":{"color":{"text":"var(--wp--preset--color--contrast, var(--wp--preset--color--black))"},"typography":{"fontSize":"clamp(1rem, 1.15vw, 1.125rem)","lineHeight":"1.4"}}} /--></div>
<!-- /wp:group --></div>
<!-- /wp:group --></div>
<!-- /wp:column -->
<!-- wp:column {"verticalAlignment":"bottom","width":"26%"} -->
<div class="wp-block-column is-vertically-aligned-bottom" style="flex-basis:26%"><!-- wp:paragraph {"style":{"color":{"text":"var(--wp--preset--color--role-label, var(--wp--preset--color--contrast, var(--wp--preset--color--black)))"},"spacing":{"margin":{"top":"0","bottom":"0.5rem"}},"typography":{"fontSize":"clamp(0.75rem, 0.85vw, 0.8125rem)","fontWeight":"600","letterSpacing":"0.22em","textTransform":"uppercase"}}} -->
<p class="has-text-color" style="color:var(--wp--preset--color--role-label, var(--wp--preset--color--contrast, var(--wp--preset--color--black)));margin-top:0;margin-bottom:0.5rem;font-size:clamp(0.75rem, 0.85vw, 0.8125rem);font-weight:600;letter-spacing:0.22em;text-transform:uppercase">Published</p>
<!-- /wp:paragraph -->
<!-- wp:post-date {"style":{"color":{"text":"var(--wp--preset--color--contrast, var(--wp--preset--color--black))"},"typography":{"fontSize":"clamp(1.0625rem, 1.3vw, 1.25rem)","lineHeight":"1.3"}}} /--></div>
<!-- /wp:column --></div>
<!-- /wp:columns --></div>
<!-- /wp:group -->
<!-- wp:group {"align":"full","style":{"spacing":{"padding":{"top":"var:preset|spacing|50","bottom":"var:preset|spacing|50","left":"clamp(1.25rem, 4vw, 4rem)","right":"clamp(1.25rem, 4vw, 4rem)"},"blockGap":"0"},"elements":{"heading":{"color":{"text":"currentColor"}},"link":{"color":{"text":"currentColor"}}}},"layout":{"type":"constrained","contentSize":"1240px"}} -->
<div class="wp-block-group alignfull has-link-color" style="padding-top:var(--wp--preset--spacing--50);padding-right:clamp(1.25rem, 4vw, 4rem);padding-bottom:var(--wp--preset--spacing--50);padding-left:clamp(1.25rem, 4vw, 4rem)"><!-- wp:columns {"verticalAlignment":"bottom","style":{"spacing":{"blockGap":{"top":"var:preset|spacing|40","left":"var:preset|spacing|50"}}}} -->
<div class="wp-block-columns are-vertically-aligned-bottom"><!-- wp:column {"verticalAlignment":"bottom","width":"74%"} -->
<div class="wp-block-column is-vertically-aligned-bottom" style="flex-basis:74%"><!-- wp:group {"style":{"border":{"color":"currentColor","style":"solid","width":"1px"},"spacing":{"padding":{"top":"var:preset|spacing|40","bottom":"var:preset|spacing|40","left":"var:preset|spacing|50","right":"var:preset|spacing|50"},"blockGap":"0"}},"layout":{"type":"constrained"}} -->
<div class="wp-block-group has-border-color" style="border-color:currentColor;border-style:solid;border-width:1px;padding-top:var(--wp--preset--spacing--40);padding-right:var(--wp--preset--spacing--50);padding-bottom:var(--wp--preset--spacing--40);padding-left:var(--wp--preset--spacing--50)"><!-- wp:post-terms {"term":"category","style":{"typography":{"fontSize":"clamp(0.75rem, 0.85vw, 0.8125rem)","fontWeight":"600","letterSpacing":"0.22em","lineHeight":"1.6","textTransform":"uppercase"}}} /-->
<!-- wp:post-title {"level":1,"style":{"spacing":{"margin":{"top":"var:preset|spacing|30","bottom":"0"}},"typography":{"fontSize":"clamp(2.25rem, 5.4vw, 4.25rem)"}}} /-->
<!-- wp:group {"style":{"border":{"top":{"color":"currentColor","style":"solid","width":"1px"}},"spacing":{"margin":{"top":"var:preset|spacing|30"},"padding":{"top":"var:preset|spacing|30"},"blockGap":"0.75rem"}},"layout":{"type":"flex","flexWrap":"wrap","verticalAlignment":"bottom"}} -->
<div class="wp-block-group" style="border-top-color:currentColor;border-top-style:solid;border-top-width:1px;margin-top:var(--wp--preset--spacing--30);padding-top:var(--wp--preset--spacing--30)"><!-- wp:paragraph {"style":{"spacing":{"margin":{"top":"0","bottom":"0"}},"typography":{"fontSize":"clamp(0.75rem, 0.85vw, 0.8125rem)","fontWeight":"600","letterSpacing":"0.22em","textTransform":"uppercase"}}} -->
<p style="margin-top:0;margin-bottom:0;font-size:clamp(0.75rem, 0.85vw, 0.8125rem);font-weight:600;letter-spacing:0.22em;text-transform:uppercase">Words by</p>
<!-- /wp:paragraph -->
<!-- wp:post-author-name {"style":{"typography":{"fontSize":"clamp(1rem, 1.15vw, 1.125rem)","lineHeight":"1.4"}}} /--></div>
<!-- /wp:group --></div>
<!-- /wp:group --></div>
<!-- /wp:column -->
<!-- wp:column {"verticalAlignment":"bottom","width":"26%"} -->
<div class="wp-block-column is-vertically-aligned-bottom" style="flex-basis:26%"><!-- wp:paragraph {"style":{"spacing":{"margin":{"top":"0","bottom":"0.5rem"}},"typography":{"fontSize":"clamp(0.75rem, 0.85vw, 0.8125rem)","fontWeight":"600","letterSpacing":"0.22em","textTransform":"uppercase"}}} -->
<p style="margin-top:0;margin-bottom:0.5rem;font-size:clamp(0.75rem, 0.85vw, 0.8125rem);font-weight:600;letter-spacing:0.22em;text-transform:uppercase">Published</p>
<!-- /wp:paragraph -->
<!-- wp:post-date {"style":{"typography":{"fontSize":"clamp(1.0625rem, 1.3vw, 1.25rem)","lineHeight":"1.3"}}} /--></div>
<!-- /wp:column --></div>
<!-- /wp:columns --></div>
<!-- /wp:group -->


