Navigation
This is archived content. Visit our new forum.
  • Author
    Posts
  • #2144

    steve s
    Participant

    HEllo, I am interested in adding some text above the nav positioned below the social media links. Is that possible? I guessing maybe I set up the child theme and then modify the header.php file. Not really sure but any help would be great.

    Thanks in advance

    S

    #2147

    Rubin
    Keymaster

    Hey,

    yes the best way would be to download our child themes zip and then depending on what stack you are using copy the file /framework/views/_stack_name_here_/wp-header.php and edit that file to your needs.

    #2189

    steve s
    Participant

    ok, so I installed the Renew child theme, and can see functions.php and style.css. I download the wp-header.php file and made the modifications. I then uploaded it to the directory under the child theme, the same place I see the function and style sheet. Is this the correct place to upload? When I refresh the page i do not see any of the changes. I even removed much of the code so it would throw and error but it did not, thus it doesnt seem to be reading the file i am uploading.

    I hope this makes sense, any help is appreciated.

    Thanks

    s

    #2195

    Kory
    Keymaster

    Hey Steve,

    You will need to copy the file into this location:

    /framework/views/renew/wp-header.php

    Let us know if you need anything else!

    #2385

    steve s
    Participant

    Doesn’t that mean it will not be in the child theme, therefore when I update the theme I will loose the modifications.

    Still learning, thanks for your quick support.

    S

    #2396

    Kory
    Keymaster

    Steve,

    No problem. Sorry for that as I can see that it might be a little unclear. You will need to copy that file into that directory path in your child theme. So, it appears that you are using Renew. If you downloaded the provided child themes, you would need to use the x-child-renew child theme. Inside of this child theme, you would need to include the file. It would ultimately look something like this:

    /x-child-renew/framework/views/renew/wp-header.php

    Hopefully that clears things up. Let us know if you need anything else or any further clarification!

    #3160

    steve s
    Participant

    Thanks for your reply, I must still be missing something. I dont see the ability to load the file into the directory you mentioned. /x-child-renew/framework/views/renew/wp-header.php

    When I look into the directory X-child-renew I only have 3 files, functions.php, screenshot.png and style,css. I dont see the frameworks under the child theme directory?

    What am I missing?

    Thanks Again, S

    #3175

    Kory
    Keymaster

    Steve,

    You will need to create these directories yourself. So inside of your child theme directory, you will need to create a framework directory. Inside of that, you must create the views directory, and inside of that, you must create the renew directory. Once you have created these three directories inside of one another, you can then place the wp-header.php file within your renew directory. So ultimately, you will need to create this directory path yourself and place the file in its proper location. The final directory path should look something like this:

    /x-child-renew/framework/views/renew/wp-header.php

    Essentially, you are just copying the same path to this file that you see within the X theme itself, which looks like this:

    /x/framework/views/renew/wp-header.php

    Hopefully this clears everything up for you. If you are still uncertain about this setup, please don’t hesitate to let us know.

    #3186

    steve s
    Participant

    I understand now. Thanks again for the prompt reply.

    You guys are great.

    S

    #3188

    Kory
    Keymaster

    Thanks, Steve! No problem, that’s what we’re here for. 🙂