X theme add header row

Hi,

I need to add a top row to the header of X theme at the very top. It will display some PHP code. I tried using a widget, but I can’t seem to get the widget to show permanently without the toggle in the top right corner. Is there a way to display a widget permanently in the header without the need to toggle it? I also tried using Topbar option, but that can’t handle PHP code. Not sure what other options I have, please let me know.

Hi There,

Other option is to customize the template using a child theme. Copy wp-header.php from this folder: \wp-content\themes\x\framework\legacy\cranium\headers\views{stack} to your child theme here: \wp-content\themes\x-child\framework\legacy\cranium\headers\views{stack} Then feel free to edit the copied file and add your custom code. If you don’t have a child theme yet, check this: