Can't figure out where error is in code
-
Hi,
So I added a few lines of code at the bottom of my custom_function.php document. It didn’t do what I wanted it to do, so I deleted it. It was supposed to add a [read more] at the end of my excerpt. I deleted those two lines of code that I added and now I get this message:
Parse error: syntax error, unexpected ‘<‘ in /home1/alpinea1/public_html/wp-content/themes/thesis_18/custom/custom_functions.php on line 158
Here is the area surrounding line 158:
[Code moderated as per the Forum Rules. Please use the pastebin]I counted down and line 158 should be”add_action(‘thesis_hook_before_post’, ‘thumbnailset’);” But I might be one or two lines off.
I don’t want to reload the file since I’ve made a lot of changes to this document to get my website the way I want it.
Could real use some help figuring out what is wrong with the code above.
Thanks!
The topic ‘Can't figure out where error is in code’ is closed to new replies.