Home Forums WoodMart support forum Child Theme overide

Child Theme overide

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

    dbelegris
    Participant

    Dear Sir/Madame,

    I am trying to override this file
    wp-content/themes/woodmart/inc/classes/Theme.php

    in my Child theme
    wp-content/themes/woodmart-child/inc/classes/Theme.php

    but that simply wont work.

    Any ideas why?

    Thank you

    #162471

    Artem Temos
    Keymaster

    Hello,

    WordPress supports only template files like single.php or content.php to be overridden. You can’t act in the same way with core functions and class files since it will break the structure of the theme its functionality.

    Kind Regards

    #162567

    dbelegris
    Participant

    Due to this issue
    https://xtemos.com/forums/topic/redux-framework-conflict-3/

    We need to remove this line of code from Theme.php
    Of course if we update each the theme we have to do that every single time (and your updates are often).

    Any workarounds?

    Thank you

    #162581

    Artem Temos
    Keymaster

    Sorry, but there are no other ways to disable this in our theme’s core. But we will remove the Redux framework one day completely and you will not need to do this.

Tagged: 

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