Title: child theme php
Last modified: August 21, 2016

---

# child theme php

 *  [ianbrownmedia](https://wordpress.org/support/users/ianbrownmedia/)
 * (@ianbrownmedia)
 * [12 years, 7 months ago](https://wordpress.org/support/topic/child-theme-php/)
 * I want to add a php file to my platform child theme so as to allow a featured
   image, I can change the parent theme but would prefer to add the line of code
   to my child theme so as to avoid having to do this every time platform is updated.
 * The parent theme file is core.init.php (the longer version of this file as platform
   oddly has two such folders, not the one with predicated…)
 * How do I structure / write this line of php code in a new file using Notepad 
   so that I can upload to my platform child folder on my server?
 * What do I call it that file?
 * My child theme folder only has a style.css file in it
 * Thanks
 * Ian

The topic ‘child theme php’ is closed to new replies.

 * ![](https://i0.wp.com/themes.svn.wordpress.org/platform/1.4.4/screenshot.png)
 * Platform
 * [Support Threads](https://wordpress.org/support/theme/platform/)
 * [Active Topics](https://wordpress.org/support/theme/platform/active/)
 * [Unresolved Topics](https://wordpress.org/support/theme/platform/unresolved/)
 * [Reviews](https://wordpress.org/support/theme/platform/reviews/)

## Tags

 * [child theme](https://wordpress.org/support/topic-tag/child-theme/)
 * [php](https://wordpress.org/support/topic-tag/php/)

 * 0 replies
 * 1 participant
 * Last reply from: [ianbrownmedia](https://wordpress.org/support/users/ianbrownmedia/)
 * Last activity: [12 years, 7 months ago](https://wordpress.org/support/topic/child-theme-php/)
 * Status: not resolved