About 5 minutes after releasing my first WordPress theme, Theseus, upon the world, I had my first support ticket to deal with. Check it out:
Thank you for this awesome theme, but it doesn’t seem to be working for me.
This is what it says after installing and testing it.
Parse error: syntax error, unexpected T_VARIABLE in /home/javitsin/public_html/wp-content/themes/theseus/index.php on line 1
Now a Parse Error happens when, essentially (I say essentially, not exactly, because I’m a designer not a programmer), you make a typing mistake in a PHP file. Thing is, I hadn’t made any typing mistakes—that I could see.
The problem is, I work on a Mac and Macs handle line endings, you know, where you press return, differently than everyone else. Different as in, make Unix computers explode. Unfortunately for me, a lot of web servers are UNIX computers. That explode. Continue reading “How To Set Line Endings in Smultron for your WordPress Themes”