unexpected T_CONSTANT_ENCAPSED_STRING in functions.php
-
I’m getting this error:
Parse error: syntax error, unexpected T_CONSTANT_ENCAPSED_STRING in /home/content/62/10897262/html/wp-content/themes/childishly-simple/functions.php on line 212
I believe it’s referencing a problem with this code:
`/*
=Change text […] after the default excerpt
*/add_filter( ‘excerpt_more’, ‘childishlysimple_new_excerpt_more’ );
function childishlysimple_new_excerpt_more( $post ) {
global $post;
return ‘<span class=”more-excerpt”><a>ID ) . ‘”>’ . ‘ (continue reading…) ‘ . ‘</a></span>’;
}`I have compared my current functions file to the original file and I don’t see any differences. I am self-taught when it comes to php and I don’t know enough to know what the problem is or how to fix it. Furthermore, I can’t even access my dashboard to fix the problem! Please help!
(My site is https://brevardnaturally.com/)
- The topic ‘unexpected T_CONSTANT_ENCAPSED_STRING in functions.php’ is closed to new replies.