Parse error: syntax error, unexpected (line 2)
-
Hello! I know next to nothing about coding but tried to remove something from my website by changing something in function.php, based on a suggestion in another topic. It didn’t work, and I got this error message, and I thought I reversed it, but the error is still there. What’s wrong? I’m sure it’s something quite simple I accidentally deleted.
Here is the error:
Parse error: syntax error, unexpected ‘<‘ in /homepages/12/d344599265/htdocs/caggage/wordpress caggage/wp-content/themes/comicpress/functions.php on line 2
And here are the first few lines of the code:
<?php if ( ! function_exists( 'comicpress_enqueue_comment_reply' ) ) { function comicpress_enqueue_comment_reply() { if ( is_singular() && comments_open() && get_option( 'thread_comments' ) ) { wp_enqueue_script( 'comment-reply' ); } } } add_action( 'wp_enqueue_scripts', 'comicpress_enqueue_comment_reply' ); // Text domain - Languages location load_theme_textdomain( 'comicpress', get_template_directory() . '/lang' ); // the_post_thumbnail('thumbnail/medium/full'); add_theme_support( 'post-thumbnails' ); add_theme_support( 'automatic-feed-links' ); add_editor_style();
[Please use code buttons when posting code ]
Viewing 8 replies - 1 through 8 (of 8 total)
Viewing 8 replies - 1 through 8 (of 8 total)
- The topic ‘Parse error: syntax error, unexpected (line 2)’ is closed to new replies.