Syntax Error – Unexpected T_String
-
Hi,
I was just trying to change the post excerpt length on the homepage (I don’t want an excerpt, I want the whole article). I found a part of the code
<?php function new_excerpt_length($length) { return 20; }
and changed it to 500 to see if the word count would increase. Now I get this problem:
Parse error: syntax error, unexpected T_STRING in /home/deadandw/public_html/wp-content/themes/aparatus/functions.php on line 244
Here is my functions code:
Pastebin? https://wordpress.pastebin.com/YuEnW2VV
How do I fix this? I tried putting the 20 value back in and refreshing but nothing worked. Also, if this gets fixed, how do I remove the post excerpt ?
My link is https://www.Joefitzpatrick.co.uk
Thanks!
Viewing 9 replies - 1 through 9 (of 9 total)
Viewing 9 replies - 1 through 9 (of 9 total)
- The topic ‘Syntax Error – Unexpected T_String’ is closed to new replies.