[Resolved] Child Theme sub folders not working?

Home Forums Support [Resolved] Child Theme sub folders not working?

Home Forums Support Child Theme sub folders not working?

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #2385846
    pixmedia

    Hellop GP Support members, hope you’re all having a great day!

    I’ve created a child theme to GP using the instructions on the documentation, but i noticed that no file works outside of the main theme directory. Tried to add the inc/structure/ folders to edit something on archives.php but the theme does not recognize the folder. Only works on files on the main directory.

    Do i need to add something to the functions php for it to work or there’s another trick to it? Usually this works flawless on all themes and this is the first time it happens to me.

    #2386110
    Ying
    Staff
    Customer Support

    Hi there,

    That’s expected behavior, only the files in the root directory of the parent theme folder can be copied to your child theme and override the parent theme files.

    For more info: https://docs.generatepress.com/article/using-child-theme/

    #2386174
    pixmedia

    Thank you for the quick response.

    I’ve read the link you posted and it seems there isn’t a solution for this. I’ll try to fix it with hooks.

    #2386327
    Ying
    Staff
    Customer Support

    No problem 🙂

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