Support » Themes and Templates » Blog totally out after trying to customize twenty eleven

  • Resolved Hazlo

    (@hazlo)


    Hello everybody here,
    I guess I should not go into customizing a template before learning more about php, but I tried it however and now my blog is out with this message : “Parse error: syntax error, unexpected $end in /home/hazlotop/public_html/blog/wp-content/themes/hazlotheme/functions.php on line 302”
    I made a copy of twenty eleven in a new directory, and I called it Hazlo Theme (the path is: public_html/blog/wp-content/themes/hazlotheme). I installed it and started to work on it. It was ok
    up to the point where I tried to paste (into “functions.php”) the following code (I found it here in the forum) in order to remove the “Home” button from the navigation bar :
    add_filter( ‘wp_page_menu_args’, ‘tec_page_menu_args’, 11 );
    function tec_page_menu_args( $args ) {
    $args[‘show_home’] = false; // no ‘home’ button
    return $args;
    }
    Now I cannot even go to the dashboard to switch back to my ancient theme (utheme). However I can see on the server that all the folders are still here. I already edited the “functions.php file in my admin panel on the server, and removed the new added code, but it didn’t help.
    Could someone tell me how to manage?
    Many many thanks in advance.

    here is the url of my blog

Viewing 4 replies - 1 through 4 (of 4 total)
Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Blog totally out after trying to customize twenty eleven’ is closed to new replies.