[resolved] unexpected T_CONSTANT_ENCAPSED_STRING in functions.php (2 posts)

  1. kcandco6
    Posted 2 years ago #

    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 http://brevardnaturally.com/)

  2. kcandco6
    Posted 2 years ago #

    Nevermind - I figured it out! Phew!

Topic Closed

This topic has been closed to new replies.

About this Topic