Sunday, March 23, 2014

Update 1

Let's start from the beginning for those who are just tuning in.On March 5th my dad went into surgery to have his gall bladder removed. While in the surgery the surgeon found a large mass on his liver. They sent a piece of the tumor to pathology for biopsy. A week later we still had no answers, and the results of the tests were all incongruent. He had a CT scan done to find out if there were more tumors and where the primary source of the cancer cells were coming from. The scan didn't show any other tumors but that the...
read more...

Thursday, March 13, 2014

WordPress WP_Query Sorting On Meta Values

I recently needed to sort posts by values saved in a meta value field. The normal post object only has a reference to the meta values so I needed to figure out how to add a meta key, meta value, and direction to WP_Query. Here is what I did:The meta key: event-detailsThe meta value: a:1:{i:0;a:7:{s:16:"event-start-date";s:10:"03-04-2014";s:14:"event-location";s:15:"Someplace, USA";s:10:"event-logo";s:4:"4301";s:10:"event-type";s:5:"Event";s:10:"event-link";s:36:"http://www.company.com/";s:10:"event-time";s:0:"";s:14:"event-end-date";s:10:"03-05-2014";}}The...
read more...

The Big "C" Has Invaded My Life

I'm fairly young, 46 as I write this, not in shape like my Marine days, but I can generally hold my own. But of all the things I thought would come my way this year health wise, the one thing that wasn't on my radar, even remotely, was cancer.Saying cancer isn't as tough as I thought it would be. What's tougher are the emotions that come along with it. The what's next, the when's, the why's, the how longs, pissed my wife has to deal with this, pissed my kids have to deal with this, and grateful for all the love and support...
read more...
 
Copyright © 2003 - 2014 Thom Allen Weblog • All Rights Reserved.