WordPress.org

Forums

Child theme - php files (4 posts)

  1. frusi
    Member
    Posted 1 year ago #

    [Moderator note: Topic title de-capped. Please do not shout at us.]

    hi guys,

    i understand how to create a child theme with the style.css. but what shall I do when I edit the .php files? shall i copy them into the new folder of my child theme?

    i am afraid that when updating WP all those changes will disappear. Thank you.

  2. esmi
    Forum Moderator
    Posted 1 year ago #

    You should not edit anything in the original theme - only copies of the files that you have ported over to the child theme.

  3. frusi
    Member
    Posted 1 year ago #

    thank you.

  4. frusi
    Member
    Posted 1 year ago #

    sorry to bother again. i've just created a child theme but cannot see it in the wordpress dashboard>appearence>themes

    i've done everything following the guide but tonight so far. the theme is called asteria Lite.
    themes
    asteria-lite
    asteria-lite-child
    style.css

    any hint?

Topic Closed

This topic has been closed to new replies.

About this Topic