• I am helping someone out to edit their blog and I am trying to change the text of the “Read More” button. I looked up several articles and posts on the matter. One of them explained how to do it step by step, so I copied and pasted the code in the fuctions.php STRAIGHT into the WP editor.

    Now I get this text whenever I am trying to even see the site:
    Parse error: syntax error, unexpected ‘href’ (T_STRING) in /home/rogalands/public_html/wp-content/themes/minamaze/functions.php on line 234

    I ran the code through a code checker and I STILL don’t get what the issue is. After I pasted the code it gave me this error. Clicked “back” and deleted it from the code. Updated the version and still nothing.

    HELP! I don’t know what to do and don’t have much knowledge of this stuff.

Viewing 4 replies - 1 through 4 (of 4 total)
  • You can replace your functions.php file from your theme folder “minamaze” and it will work fine.

    But if you wanted to change the “read more” text means, post the code at the line 234 here, we can help you with that.

    Thread Starter Bee25

    (@bee25)

    Where is this functions.php file you are mentioning? Is it supposed to be in a downloaded zip? (Because if yes, I don’t have the password to download that – still waiting on my friend to send it through)

    When I do get the functions.php file, how do I replace it? Replace it with what? I cannot log in into the wordpress editor at the moment. I have the fuctions code copied separately, outside of the website but I cannot go back into the editor of the blog to replace/fix it.

    I looked up several articles and posts on the matter. One of them explained how to do it step by step

    it would help if you post the link to that article, so somebody might be able to figure what could have gone wrong.

    trying to change the text of the “Read More” button

    please post in your theme’s forum at https://www.ads-software.com/support/theme/minamaze#postform

    Thread Starter Bee25

    (@bee25)

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Messed up a code: Parse error: syntax’ is closed to new replies.