Got an error when activate child theme

  • ice48623


    Parse error: syntax error, unexpected ‘}’ in /home/djingcom/domains/ : eval()’d code on line 18

    I have got above error when I’m activated graphene child theme.

    How to fix it, Thanks!



    Try de-activating your wp-php-widget plugin before you activate your child theme.



    I’ll try



    Thanks Josh, you help me a lot.



    Josh, I have a question

    It’s possible to have function.php in child theme?

    and if it’s possible, in function.php what code it should contain. Like in style.css it have some of header code, how about function.php is should have some of header code or just put the function code that I want?

    Thanks you again.



    Yes, you can have a functions file in your child theme. It should be named functions.php.

    You don’t need any information in it except for the opening and closing php tags. You can add any custom functions into the file, and they will be added to your themes functions.




Viewing 7 posts - 1 through 7 (of 7 total)

You must be logged in to reply to this topic.