Support » Fixing WordPress » Parse error: syntax error, unexpected

  • I have only been using WP for a short time & I just tried copying the code snippet (change default to leave a comment from wpsnacks.com) to my function.php and it didn’t work so I deleted it again and now I am getting an error and it won’t let me go to anything. I have lost our church website.
    I can’t get back into my Theme functions php where I was doing the changes.
    I really need help as I am already in a bit of unfamiliar territory.

    Parse error: syntax error, unexpected ‘;’ in /home/highw703/public_html/wp-content/themes/agency/functions.php on line 65

Viewing 2 replies - 1 through 2 (of 2 total)
  • Thread Starter PamdV

    (@pamdv)

    This is what I was directed to add in and I did at the end of what existed & then took it out.

    /**
    * Change default comment text in StudioPress Genesis
    *
    * @author WPSnacks.com
    * @link http://www.wpsnacks.com
    */
    function change_default_comment_text($args) {
    $args[‘title_reply’] = ‘Leave a Comment’;
    return $args;
    }
    add_filter( ‘genesis_comment_form_args’, ‘change_default_comment_text’ );

    I’m sorry but as you are using a commercial theme, you need to seek support from the theme’s vendors.
    http://www.studiopress.com/support

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Parse error: syntax error, unexpected’ is closed to new replies.