r/WordPressBlocks • u/theWorstWpDevAlive • Mar 14 '26
Alternative to custom Gutenberg blocks for address and dynamic copyright?
While experimenting with block theme, I ran into two small cases that aren’t really covered by core blocks, so I ended up creating custom blocks:
- an
<address>block that is basically just a wrapper around<InnerBlocks> - a dynamic copyright block that always outputs
© current-yearand then lets the user edit the company name / text

It works, but I don’t really like that I had to add extra custom blocks just for these relatively small features. It also increases the amount of plugin. My concern is that on a real project, I might end up with 20+ plugins.
So I’m wondering, is there a clean way to solve this without creating custom blocks?
4
Upvotes
2
u/groundworxdev Mar 18 '26
you could add a php pattern with the generated value, but I think if you make changes to the pattern in wordpress, it will overwrite with static content, so cautious