WordPress.org

Ready to get started?Download WordPress

Forums

Child theme - php files (4 posts)

  1. frusi
    Member
    Posted 6 months 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 6 months 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 6 months ago #

    thank you.

  4. frusi
    Member
    Posted 6 months 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?

Reply

You must log in to post.

About this Topic