[Support request] Child theme

Home Forums Support Child theme

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #1113697
    Amit

    After installing Generatepress premium on my website I had added some come codes in functions.php and header.php and when I update the theme I lost these codes eachtime.

    I want to make these code permanent.

    Thats why I want to use a child theme.

    I have never used a child theme and for that reason I have some qwery about child theme which I am mentioning below:

    After using child theme
    1] are these codes become permanent on functions.php and header.php?
    2] when I update the theme are these files also updated?
    3] if not updated will there be any problem in future?

    One more:
    4] Does generatepress provide/has any child theme?
    5] Or I will install any plugin from wordpress plug directory.

    I hope you understand my requirements and what I am saying.

    Please reply.

    Thanks in advance,
    Amit Mandal

    #1113931
    Leo
    Staff
    Customer Support

    Hi there,

    1) Code added in function.php and style.css won’t be erased through udpates.

    2) Child theme grabs the core files from the parent theme so you can always use the latest version.

    3) Definitely always update.

    4) This should help: https://docs.generatepress.com/article/using-child-theme/

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