0

I am getting the following error message when I try to update my function.php in Wordpress:

Parse error: syntax error, unexpected 'Bar' (T_STRING), expecting ',' or ')' in /home3/menteveg/public_html/connectedhorizonsco/wp-content/themes/wpvoyager/functions.php on line 169

I spent ages checking the code and checked the other "syntax error unexpected (T_STRING)" questions/answers brought forward by other on the forum but didn't really find anything, anybody got any idea ? Thanks in advance ! This the code from line 157 to 183:

    register_sidebar(array(
        'id' => 'footer1',
        'name' => esc_html__('Footer 1st Column', 'wpvoyager' ),
        'description' => esc_html__('1st column for widgets in Footer', 'wpvoyager' ),
        'before_widget' => '<aside id="%1$s" class="footer-widget %2$s">',
        'after_widget' => '</aside>',
        'before_title'  => '<h4>',
        'after_title'   => '</h4>',
        ));
    register_sidebar(array(
        'id' => 'footer2',
        'name' => esc_html__('Footer 2nd Column', 'wpvoyager' ),
        'description' => esc_html__('2nd column for widgets in Footer', 'wpvoyager' ),
        'before_widget' => '<aside id="%1$s" class="footer-widget %2$s">',
        'after_widget' => '</aside>',
        'before_title'  => '<h4>',
        'after_title'   => '</h4>',
        ));
Max Krisa
  • 9
  • 3

0 Answers0