Home Forums WoodMart support forum Which theme’s files can we overwrite in child theme?

Which theme’s files can we overwrite in child theme?

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

    loptix
    Participant

    Hello,

    I notice that some theme’s files can be overwritten (by copying and editing in child theme) but some can’t be.

    Do you have a kind of list or rules of the files which are overwritable or not?

    Would be helpful for our own theme customisation actually, and also completing your documentation about that by the way.

    From our knowledge we know that those files can be actually overwritten with success :

    1/ all files from the Woodmart theme base folder : /header-elements/*
    2/ all files from the Woodmart theme base folder : /woocommerce/*

    Thanks!

    Best regards.

    • This topic was modified 1 year, 6 months ago by loptix.
    #409348

    Artem Temos
    Keymaster

    Hello,

    You can override WordPress core template files like header.php, footer.php, page.php etc. And also you can override header elements and WooCommerce template files. Other core theme PHP files can’t be overridden as PHP templates.

    Kind Regards

Viewing 2 posts - 1 through 2 (of 2 total)