WordPress.org

Ready to get started?Download WordPress

Forums

[resolved] Problem with new upgrade (3 posts)

  1. innkeeperea
    Member
    Posted 3 years ago #

    Ok, so...I upgraded to 3.05 this morning. Guess what...screwed up my site!
    HELP PLEASE....
    I had created a child theme and put a style.css there..so that basic part was ok. But...the header, footer and functions.php all went back to the originals :-(

    I had saved my changes so went to my child theme and tried to put in new header, footer and functions.php files and got error messages and my site disappeared :-(

    I had to go back to the originals and reedit. So what am I missing here?
    how can I prevent this from happening again.
    Thanks for the help all!

  2. PaulAJohnston
    Member
    Posted 3 years ago #

    I've just done the upgrade with a child theme and no problem.
    What is the parent theme and just a thought can you see what are the permissions on the files in your child theme directory?

  3. innkeeperea
    Member
    Posted 3 years ago #

    I am using the TwentyTen theme. I think the problem now lies in the functions.php I am getting this message when I try to view my child theme.

    Parse error: syntax error, unexpected '-', expecting '(' in /home/bluem/public_html/wp-content/themes/twentyten-test/functions.php on line 214

    I don't have clue how to edit php files. was just guessing I had to refer to my child them.

    This is what I was looking at:
    * To override this in a child theme, remove the filter and optionally add
    * your own function tied to the wp_page_menu_args filter hook.
    *
    * @since Twenty Ten 1.0
    */
    function twentyten-test_page_menu_args( $args ) {
    $args['show_home'] = true;
    return $args;
    }
    add_filter( 'wp_page_menu_args', 'twentyten-test_page_menu_args' );

    So what should I make it to have it point to MY test Child page?

    Geee....so much to learn.
    Thanks all.

Topic Closed

This topic has been closed to new replies.

About this Topic