Title: Parent Function not working on Child Theme
Last modified: June 20, 2017

---

# Parent Function not working on Child Theme

 *  [josealvin](https://wordpress.org/support/users/josealvin/)
 * (@josealvin)
 * [9 years ago](https://wordpress.org/support/topic/parent-function-not-working-on-child-theme/)
 * My child theme stop working after I updated my parent theme the website stop 
   working. I tried to put it back the old parent theme but the error still remain.
   I check the error and I go this:
 * PHP Fatal error: Call to undefined function woo_title()
 * I tried to replace with the code woo_title() to wp_title(). Then it gives new
   error. But I noticed this is the parent functions.
 * My style description is correct:
    /* Theme Name: Child Theme Description: A child
   theme of the Twenty Fifteen default WordPress theme Author: Jose Template: ptheme
   Version: 1.0.0 */
 * I also print this echo get_template_directory() and display child theme. It should
   be parent theme not sure why.
 * I tried to update wordpress, disable all plugins, resave permalinks check htaccess.
 * Can someone know why the parent theme function not working?

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

 *  [David Beja](https://wordpress.org/support/users/dbeja/)
 * (@dbeja)
 * [9 years ago](https://wordpress.org/support/topic/parent-function-not-working-on-child-theme/#post-9243970)
 * Is the template directory correct?
    Template line corresponds to the directory
   name of the parent theme.
 *  Thread Starter [josealvin](https://wordpress.org/support/users/josealvin/)
 * (@josealvin)
 * [9 years ago](https://wordpress.org/support/topic/parent-function-not-working-on-child-theme/#post-9244017)
 * Not sure what your trying to say but its a child themes. I fixed the issue by
   duplicating the child theme, activate the it then activate the original child
   theme again.

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

The topic ‘Parent Function not working on Child Theme’ is closed to new replies.

## Tags

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

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 2 replies
 * 2 participants
 * Last reply from: [josealvin](https://wordpress.org/support/users/josealvin/)
 * Last activity: [9 years ago](https://wordpress.org/support/topic/parent-function-not-working-on-child-theme/#post-9244017)
 * Status: not a support question

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
