Text in header as a page – hide from Web crawlers

After some practice, I found two ways to do this prettier:

  • As a text widget: You just have to define a widget area in your template. After this, in Appearance>Widget, you can add a “Text” widget in this area, with any free HTML code. It can do the trick for the ones who write HTML

  • As a settings page: Thanks @czerspalace for your answer ! The solution can be to do a settings page. Instead of writing the code in functions.php, the way I found to do this is using the Pods plugin. It allows to create Settings pages really easily, with a WYSIWYG if you need it.