Title: Child theme / functions.php
Last modified: August 22, 2016

---

# Child theme / functions.php

 *  Resolved [pappe](https://wordpress.org/support/users/pappe/)
 * (@pappe)
 * [11 years, 5 months ago](https://wordpress.org/support/topic/child-theme-functionsphp-8/)
 * Hi,
 * I am using your great theme (newest version) on this site: [Link](http://jdav-passau.de).
   The site isn´t opened yet but soon.
 * I have generated a child theme which works great for the moment. When I copy 
   the functions.php to the child theme the theme will generate an error as follows:
 *     ```
       Warning: require_once(includes/mh-functions.php): failed to open stream: No such file or directory in /kunden/363571_94036/webseiten/jdav/wp-content/themes/mh-purity-lite-child/functions.php on line 116
   
       Fatal error: require_once(): Failed opening required 'includes/mh-functions.php' (include_path='.:/usr/local/lib/php') in /kunden/363571_94036/webseiten/jdav/wp-content/themes/mh-purity-lite-child/functions.php on line 116
       ```
   
 * How to solve this issue? I want to add some functions to the theme …
 * Thanks!
 * Martin

Viewing 3 replies - 1 through 3 (of 3 total)

 *  [Michael](https://wordpress.org/support/users/mh-themes/)
 * (@mh-themes)
 * [11 years, 4 months ago](https://wordpress.org/support/topic/child-theme-functionsphp-8/#post-5630454)
 * Hi Martin,
 * thanks for using MH Purity _lite_ and we’re happy that you like the theme. 😉
 * You shouldn’t copy the _functions.php_ of the parent theme to the child theme.
   Please keep in mind that a child theme actually is an **“extension”** of the 
   parent theme. So the file _functions.php_ of the parent theme will be loaded 
   anyway.
 * If you want to code new functions, you can copy an empty file _functions.php_
   to your child theme and then add your own code.
 * Here you can read more about child themes: [http://codex.wordpress.org/Child_Themes](http://codex.wordpress.org/Child_Themes)
 *  Thread Starter [pappe](https://wordpress.org/support/users/pappe/)
 * (@pappe)
 * [11 years, 4 months ago](https://wordpress.org/support/topic/child-theme-functionsphp-8/#post-5630470)
 * Got it! Now it works! Thanks!
 *  [Michael](https://wordpress.org/support/users/mh-themes/)
 * (@mh-themes)
 * [11 years, 4 months ago](https://wordpress.org/support/topic/child-theme-functionsphp-8/#post-5630471)
 * You’re welcome – if you are happy with the theme, we would love if you could 
   [leave a rating](https://wordpress.org/support/view/theme-reviews/mh-purity-lite?filter=5).
 * Have a nice weekend.

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘Child theme / functions.php’ is closed to new replies.

 * ![](https://i0.wp.com/themes.svn.wordpress.org/mh-purity-lite/1.4.4/screenshot.
   png)
 * MH Purity lite
 * [Support Threads](https://wordpress.org/support/theme/mh-purity-lite/)
 * [Active Topics](https://wordpress.org/support/theme/mh-purity-lite/active/)
 * [Unresolved Topics](https://wordpress.org/support/theme/mh-purity-lite/unresolved/)
 * [Reviews](https://wordpress.org/support/theme/mh-purity-lite/reviews/)

 * 3 replies
 * 2 participants
 * Last reply from: [Michael](https://wordpress.org/support/users/mh-themes/)
 * Last activity: [11 years, 4 months ago](https://wordpress.org/support/topic/child-theme-functionsphp-8/#post-5630471)
 * Status: resolved