I’m trying to add a new widget area next to the logo on the header. To do this, I’m editing the header.php file located on the generatepress\inc\structure folder.
The issue that I’m having is I have no idea on how to get this file working on the child theme. I can edit it on the parent theme no problem, but when I create a similar folder structure for it on my child theme, it just doesn’t work.
So my question, how do I get this file to work on my child theme?
Could you please tell where to put the new widget code on the main header file?
Usually I just paste the code on where I want the widget to appear, but the only place to paste the code on the main header file is either before the secondary or after the primary navigation. Everything inside the header is controlled by the other header file in the “generatepress/inc/structure” folder that I mentioned earlier.
I’m sorry but I’m not very good at PHP, but if you give me the code and tell me where to paste it, I can figure the rest out myself.