• I was addind code to my function.php to enable footer menu like this

    register_nav_menus(
    array(
    ‘main_nav’ => __( ‘Main navigation Menu’ ),
    ‘extra-menu’ => __( ‘Extra Menu’ )
    )
    );
    }

    but i got this error:

    ***************************************
    Parse error: syntax error, unexpected T_CONSTANT_ENCAPSED_STRING, expecting ‘)’ in /home/content/55/8319155/html/wp-content/themes/WK_theme/functions.php on line 44

    ********************************************************

    I removed the code but the error is still. there. I check Line 44 and it was blank

    Here is the file with error

Viewing 1 replies (of 1 total)
  • Extract the functions.php file from an unedited copy of the theme and upload it to wp-content/themes/WK_theme using FTP or whatever file management application your host provides.

Viewing 1 replies (of 1 total)
  • The topic ‘function.php crash’ is closed to new replies.