• suavedesign

    (@suavedesign)


    I am wondering how I can view the php files/ templates in my editor section of the dashboard.
    When I go into appearance-editor, I see a list of css files under “styles”, and those I can edit there.
    But under templates, it just says “This child theme inherits templates from a parent theme, Business lite”.
    I copied some php files and put them into my child directory, so how do I get them to show up in the editor section?
    Thanks.

Viewing 9 replies - 1 through 9 (of 9 total)
  • Moderator keesiemeijer

    (@keesiemeijer)

    On the top right of that page is a dropdown where you can select your parent theme (Business lite) to edit.

    Thread Starter suavedesign

    (@suavedesign)

    But I dont want to edit the files on the parent theme. I want to edit them in my child theme!

    Moderator keesiemeijer

    (@keesiemeijer)

    Sorry, yes. Copy the parent theme files (you want to edit) over to your child theme and edit them there.

    Thread Starter suavedesign

    (@suavedesign)

    I’m not sure I understand;
    I copied the parent theme files over to my child theme. (and uploaded them to the child theme directory, via ftp) Now I want to edit those files. Shouldnt they show up in appearance-editor? Because they dont! So how do I edit them?

    Thanks for your help!!

    Moderator keesiemeijer

    (@keesiemeijer)

    That’s strange I can see all files I copied to my child theme folder. How did you copy them? By using FTP? Are you sure the files are in your child theme directory?

    Thread Starter suavedesign

    (@suavedesign)

    It really is strange, I know. I used ftp to copy them. I copied them the same way I copied the style sheets, and the style sheet does show up in my dashboard!
    But under templates, it says This child theme inherits templates from a parent theme, Business lite”, and the template name is a link to the parent theme.

    Moderator keesiemeijer

    (@keesiemeijer)

    Are these files in a subfolder in your child theme? This can sometimes cause problems.

    Check if the permissions for your php files are correct:
    https://codex.www.ads-software.com/Changing_File_Permissions#Permission_Scheme_for_WordPress
    https://codex.www.ads-software.com/Changing_File_Permissions#Using_an_FTP_Client

    All files should be 644 or 640. Exception: wp-config.php should be 600 to prevent other users on the server from reading it.

    Thread Starter suavedesign

    (@suavedesign)

    No, they are not in a subfolder.
    I’ll check the permission.
    thanks…

    Moderator keesiemeijer

    (@keesiemeijer)

    Also try:

    – flushing any caching plugins you might be running, as well as server and/or browser caches.

    – deactivating all plugins to see if this resolves the problem? If this works, re-activate the plugins one by one until you find the problematic plugin(s).

Viewing 9 replies - 1 through 9 (of 9 total)
  • The topic ‘How can I get the php files to show up under appearance-editor?’ is closed to new replies.