• Resolved somedayatatime

    (@somedayatatime)


    oh my gosh…please help!! I’m trying to follow this tutorial http://www.carriedils.com/widget-area-above-header-genesis/ and when I added the first part of the code to my functions.php file I got this message and now nothing on my site will load
    Parse error: syntax error, unexpected ‘Bar’ (T_STRING) in /home/healar2/somedayatatime.com/wp-content/themes/modernbloggerpro/functions.php on line 196

    line 196 according to notepad++ is

    ‘name’ => __( ‘Utility Bar Left’, ‘theme-prefix’ ),

Viewing 2 replies - 1 through 2 (of 2 total)
  • Try:

    'name' => __( 'Utility Bar Left', 'theme-prefix' ),

    Note that the above replaced the curly quotes. You will need to do this for the rest of the code you pasted in your functions.php file.

    Thread Starter somedayatatime

    (@somedayatatime)

    Thanks, that was the problem!

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘Parse error unexpected T_String in functions.php’ is closed to new replies.