WordPress.org

Support

Support » Themes and Templates » [Resolved] how edit php files in child theme, don't show on list, only under parent Expound

[Resolved] how edit php files in child theme, don't show on list, only under parent Expound

  • I maybe being new and silly, but just for information, why are the full list of php files show under the parent Expound, but not under the child, which makes editing impossible for child designs? I’m stuck with editing css only which is a slow learning process. I don’t have any of my files on my computer, the hosting co. (not wordpress.com) have them. CSS works but I can’t edit php files except in the parent theme which I am reluctant to do.

Viewing 15 replies - 1 through 15 (of 17 total)
  • Child theme inherits the files from parent..so all files are not required, just style.css is enough .You can overwrite the php files of parent theme by adding a new file in the child theme.

    that’s great thanks but how do I add a new .php file to the child theme when I don’t have the files and folders on my computer, they live with the host company on my cloud there. I’m not suppose to fiddle with those? So can I do php editing in any other way I’m not supposed to edit the parent files. I’ve made a copy php file via textedit so I’ve got some ready.

    WPyogi

    @wpyogi

    Forum Moderator

    See:
    http://codex.wordpress.org/Child_Themes

    Copy any .php files (except functions.php) to the child if you want to change them.

    ok sorry I’ll just check your link.

    I don’t have a file directory as it isn’t on my laptop! I can’t just drag and drop files I create anywhere, except through edits in the dashboard. It isn’t local on my laptop and sync to the host that way. It only lives on the host and the dashboard online.

    You can use wp-editor plugin to edit files of plugins and themes

    http://wordpress.org/plugins/wp-editor/

    Please be sure before editing files to have a copy of them before.

    WPyogi

    @wpyogi

    Forum Moderator

    You need to upload the files to your theme’s folder on the server using FTP or whatever file manager your host uses.

    WPyogi

    @wpyogi

    Forum Moderator

    You can use wp-editor plugin to edit files of plugins and themes

    That’s totally unrelated to this question.

    @vanessajw if you don’t have the Expound files on your computer but have them on your hosting server, you can download them via FTP and upload them to your child theme. Or you can obtain all the files by downloading Expound to your computer: http://wordpress.org/themes/expound

    Hope that helps!

    @vanessajw please take a backup of your database using FTP details and download your all files using the software for example: FilZilla. now you can edit files on your laptop. Then save and upload it.

    Moderator Jan Dembowski

    @jdembowski

    Volunteer Mod. & Brute Squad

    FTP won’t work for backing up the database. It also doesn’t have anything to do with this question. 😉

    Though the idea of downloading the files to your laptop, editing them and re-uploading them as child theme files is right on target.

    @vanessajw Try that child theme link WPyogi posted. *waves at WPyogi*

    http://codex.wordpress.org/Child_Themes

    Once you’ve created and activated that child theme with your edits then you’ll be headed in the right direction.

    yes thanks I’ve got the child theme and css in that stylesheet ok, I just need to set up the FTP bit next, when I feel strong enough to try! I’ll get back to you all when I’ve done that.

    Has anyone actually created a blank functions php file in their child theme and added a footer widget yet and had it working?

    esmi

    @esmi

    Forum Moderator

    Using Expound as the parent, no. Using other themes? Yes – many times.

    WPyogi

    @wpyogi

    Forum Moderator

    What code are you using? Have you read this?

    http://codex.wordpress.org/Widgetizing_Themes

Viewing 15 replies - 1 through 15 (of 17 total)
  • The topic ‘[Resolved] how edit php files in child theme, don't show on list, only under parent Expound’ is closed to new replies.