My day started out like any other Sunday: warm cup of coffee, perusing Facebook, checking email and making a few blog updates.
Specifically, I was changing the homepage to show post excerpts rather than two full posts, followed by post excerpts. Doing this involved going into the Editor and placing code within the Theme Functions (functions.php).
I wouldn’t consider myself an expert in any sort of coding; I always say I know enough to be dangerous. This morning I successfully made the updates to my homepage (W00T!), paused for a moment, and thought:
Wouldn’t it be nice if my social share buttons showed with all the excerpts?
Famous. Last. Words.
I added a plugin that was supposed to place social share buttons on post excerpts. In order for the buttons to only show on the excerpts, however, I needed to fuss with some more code within the Theme Functions. So I did.
And then I clicked the “Update File” button.
And the screen went white. Except for these God-awful words:
Parse error: syntax error, unexpected ‘<‘ in /home/lizhaw/amusingfoodie/wp-content/themes/focus/functions.php on line 135
And I couldn’t get back into ANYTHING. Not my admin panel. Not an old web version. NOTHING.
I sent a friend a desperate Facebook message. Not for help; simply for empathy.
I sent my sister a Facebook message. “I BROKE MY BLOG,” I said.
I refreshed. I Googled. I…had no idea what to do.
And then I messaged a coder friend. He was at church, but said he could fix it within minutes once he was home. Bless him.
I said, “No rush. The world never came to an end because a food blog was broken.”
I decided some perspective was was a good idea. Because, #FirstWorldProblems.
And THEN I decided to bake while I waited
Digging in the fridge, I realized I managed to forget about three zucchini from my next to last Hometown Harvest bag. Whoops.
They were in my crisper drawer, and had rolled to the back where I’d overlooked them for over two weeks. Despite being a little shriveled, they were otherwise fine, so I figured they’d be perfect with the brown over-ripe bananas on my counter for muffins. My daughter LOVES zucchini bread and muffins in her school lunch.
Then, I made pizza dough (enough to freeze some for another day) and we had personal pizzas for lunch, followed by laziness and movie watching.
And just as my thoughts drifted….
Hometown Harvest is a blog sponsor, which means I’m compensated for spreading the word about what they do, my experiences and the deliveries I get. Interested? Click here to learn more, and make sure to tell them I sent you. All opinions are my own!