Support » Themes and Templates » Where do you find the .php files in a child theme?

  • Resolved colwellmatt

    (@colwellmatt)


    Hey everyone,

    I’m fairly new to wordpress and just had a quick question. I recently created a child theme for my website (www.thefreshselection.com), for the twentyeleven theme. I transfered the files using a FTP, but the only file in my new directory is the style.css file that I imported. I am looking to make some aesthetic changes, and I was wondering where I can find the .php files like, header.php, footer.php, etc. Any help would be greatly appreciated! Thank you so much, and let me know if you have anymore questions.

    -Matt

Viewing 2 replies - 1 through 2 (of 2 total)
  • If you want to override Twenty Eleven’s template or template-part files in a Child Theme, you will need to copy the appropriate files from the Twenty Eleven directory, and paste them into your Child Theme directory.

    So, if you want to make Child-Theme edits to, e.g. footer.php, Copy \wp-content\themes\twentyeleven\footer.php into \wp-content\themes\child-theme-slug, and then edit that copy.

    Thread Starter colwellmatt

    (@colwellmatt)

    Thanks a ton, that did the trick!

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Where do you find the .php files in a child theme?’ is closed to new replies.