• 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)
  • Is the template directory correct?
    Template line corresponds to the directory name of the parent theme.

    Thread Starter josealvin

    (@josealvin)

    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.