Syntax error, unexpected T_ENDIF in function.php
So, I’m quite new to wordpress but tried anyhow to change the function.php in my twentyten theme. As I deleted some of the text to make the “poste at” and “by” go away and pressed update file, this message appeared on the screen:
Parse error: syntax error, unexpected T_ENDIF in /home2/msfo/public_html/wp-content/themes/twentyten/functions.php on line 481
I downloaded wordpress again and copy pasted the original function.php into my site but nothing happened.
Now I can’t see my site, and I can’t leave the Theme function (function.php) site, without the message appearing.
Please help! I’m so afraid I’ll have lost all the hard work I’ve put into this homepage.
- The topic ‘Syntax error, unexpected T_ENDIF in function.php’ is closed to new replies.