• I am trying to find out how to edit certain .php file though my child theme. I am using the vantage theme. The php file i am trying to edit is the form-login.php located in the following directory: theme/framework/template/form-login.php
    How do I edit this file though a child theme? I’ve tried putting a copy of that file in my child theme directory and putting it in the theme-child/framework/template folder. However, nothing changes. any idea on what to do?

Viewing 8 replies - 1 through 8 (of 8 total)
  • Where did you download this theme from?

    Thread Starter Burgejos000

    (@burgejos000)

    App Themes.

    See their support here:

    https://www.appthemes.com/support/

    Commercial themes aren’t supported on these forums. Note that some themes won’t work with child themes.

    Thread Starter Burgejos000

    (@burgejos000)

    Alright. I know that child themes work with their theme. Its been working so far. They dont support modifying their theme. So I was checking if anybody on here had an idea. I didnt see anything in the wordpress codex about it. I know that child themes will pull the theme stylesheet and main php files like functions.php header.php ect. but im not sure about the ones that arent normally modified

    I’m not sure that themes by appthemes.com work like “standard” themes do, so I’m not sure what will work in this case.

    Thread Starter Burgejos000

    (@burgejos000)

    I can always toy around with it and try multiple methods. This is the first theme i’ve had to heavily hack. What are some methods that usually work?

    In most themes, the existence of a template file in the child theme automatically makes it take precedence over the same template file in the parent theme.

    Thread Starter Burgejos000

    (@burgejos000)

    I dont think this file acts as a template. I mean, it kind of does, but not quite. I was able to make it act as a template file though so the page is set up through that file, however, I dont think this is the correct way to do it. I’ve had a few problems with trying to set up a child theme. Like changing files in the images folder and such.

Viewing 8 replies - 1 through 8 (of 8 total)
  • The topic ‘How to edit php file via child theme’ is closed to new replies.