• 79pxls

    (@79pxls)


    Hi!
    LOVE your plugin…use it every time ??

    I’m running BRIDGE theme.
    I need to edit one of the php files so i made a copy and put it in the relative location in the child theme folder but my changes are not taking affect. Could it be the location of the file?

    ie BridgeChildTheme/includes/shortcodes/shortcodes.php

    or should it be
    BridgeChildTheme/shortcodes.php

    Thanks.

    https://www.ads-software.com/plugins/one-click-child-theme/

Viewing 1 replies (of 1 total)
  • Plugin Author Terry Chay

    (@tychay)

    I don’t own the Bridge theme, but from looking at the path, I’d have to say that there’s no way easily to override the parent theme’s included php files inside a child theme. Only templates and (depending if it is written correctly) functions can be overridden.

    The reason why is that inside the bridge theme there will be hardcoded references to the parent theme’s path and not the relative path of the child theme for included php files. You’d have to find where the include file is included and override them and if they’re included go all the way to the top of the hierarchy.

    Odds are though they did something in functions.php that includes it, so instead of overriding it, you could just ADD more functionality to a locally created functions.php (sorry I don’t have that capability to “fix” functions.php in OCCT :-(). I’d have to see the source of the Bridge theme to figure out how.

Viewing 1 replies (of 1 total)
  • The topic ‘Proper edited theme file location’ is closed to new replies.