[Support request] Inc folder – cannot be override with child theme

Home Forums Support [Support request] Inc folder – cannot be override with child theme

Home Forums Support Inc folder – cannot be override with child theme

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #1070449
    Vicky

    Hi Support!

    We have a developer to add social media + a custom menu in the header file (right side of the logo section) for the website. He advised us that the code cannot be placed in the child theme that the inc/structure folder do not allow the child theme to modify the header.php file. These custom codes would disappear if we want to update the parent theme to the latest version.

    Is there any solution to allow us to retain social media and custom menu in the header file and to ensure the GeneratePress parent to be up to date?

    Thanks!
    Vicky

    #1070836
    David
    Staff
    Customer Support

    Hi there,

    you would need to use a Child Theme if you must edit the theme templates.
    Alternatively you can use the Hook Element to insert the content:

    https://docs.generatepress.com/article/hooks-element-overview/

Viewing 2 posts - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.