DEV Community

Discussion on: A better WordPress admin title.

Collapse
 
bueltge profile image
Frank Bültge

Great idea for visibility, however a small hint - you should not add this to the functions.php of the Theme. A simple plugin should much more helpful because the topic is not in context with the front-end so that should be independent from the Theme.

Collapse
 
adampatterson profile image
Adam Patterson

Good point, I tossed it in there as a proof of concept but could easily add it to a function and I will :)

I like your comment on the Context of Fron End Dev, How do you feel about how Gutenberg blocks are created for custom themes?

Collapse
 
bueltge profile image
Frank Bültge

It more in the context of the theme. If the block is only for design, formatting so should it leave inside the Theme. However is also possible as plugin, because so it is possible to use after a switch of the theme or separately. But is the block a part of data, they're stored inside the database and have more a topic of data, not only design so should it a separate plugin, not inside the theme. It makes also much more easy to update them.