WordPress.org

Forums

Expound
[resolved] how edit php files in child theme, don't show on list, only under parent Expound (18 posts)

  1. vanessajw
    Member
    Posted 1 year ago #

    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.

  2. bravokeyl
    Member
    Posted 1 year ago #

    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.

  3. vanessajw
    Member
    Posted 1 year ago #

    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.

  4. WPyogi
    Forum Moderator
    Posted 1 year ago #

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

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

  5. vanessajw
    Member
    Posted 1 year ago #

    ok sorry I'll just check your link.

  6. vanessajw
    Member
    Posted 1 year ago #

    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.

  7. bravokeyl
    Member
    Posted 1 year ago #

    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.

  8. WPyogi
    Forum Moderator
    Posted 1 year ago #

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

  9. WPyogi
    Forum Moderator
    Posted 1 year ago #

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

    That's totally unrelated to this question.

  10. Konstantin Kovshenin
    Member
    Theme Author

    Posted 1 year ago #

    @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!

  11. Er Arun Sharma
    Blocked
    Posted 1 year ago #

    @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.

  12. 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.

  13. vanessajw
    Member
    Posted 1 year ago #

    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.

  14. vanessajw
    Member
    Posted 1 year ago #

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

  15. esmi
    Forum Moderator
    Posted 1 year ago #

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

  16. WPyogi
    Forum Moderator
    Posted 1 year ago #

    What code are you using? Have you read this?

    http://codex.wordpress.org/Widgetizing_Themes

  17. vanessajw
    Member
    Posted 1 year ago #

    yes I've read what is supposed to happen and how to add widgets areas to the theme, when I've got my upload blank functions file with the new functions code in place in it

    (not the parent functions.php file, which every time I added code to the whole site shut off with syntax parse error and a backup copy was needed to replace),

    but I was wondering if anyone using Expound has tried it yet....adding a child function file with just the extra widget code functions and whether it really worked?

  18. vanessajw
    Member
    Posted 1 year ago #

    Or has anyone tried this creating a custom plugin which recommended by the podcast team http://justintadlock.com/archives/2011/02/02/creating-a-custom-functions-plugin-for-end-users

Topic Closed

This topic has been closed to new replies.

About this Theme

About this Topic