Archived topic
How to create custom header with Gutenberg block
3 replies · Started by Shivam on December 18, 2020
Hey, I wanted to create custom-designed header (like this) for my post with the help of Gutenberg block.
Although there is no problem in designing and style, I am not able to find a way to add the post info like "Post updated date" with Gutenberg editor.
Can you help me with that?
Hi Shivam,
Unfortunately it's not possible to add entry meta using Gutenberg blocks currently.
You can do it without Gutenberg with the method here though:
https://docs.generatepress.com/article/entry-meta-style/#example-2
Does that means, I cannot create custom header like this directy in Gutenberg editor. So, I have to use a header element?
Does that means, I cannot create custom header like this directy in Gutenberg editor.
Yes - Gutenberg doesn't offer author or date blocks.
So, I have to use a header element?
The solution I've linked isn't using a header element - it's just modifying the output of the default entry meta.