has_children() WordPress Function

For the longest time I’ve been waiting from WordPress to build this function, but they seem to be busy building awesome things like Custom Post Types, Menus & other Admin features! Truthfully, I should just write the function myself and submit it! I’ve always been afraid to submit to the core.

Anyway, here is a function called has_children. It checks if any posts are using the given post_id as post_parent. There is a post_type paramater so that you can be specific.

January in Photos 2012

January in Photos 2012

Happy New Year!!! a little late?…

Here are my random pics from January 2012! Here is to another year of random pics :p

[...] Read More

Pre Photo Journal

Pre Photo Journal

Last week I found a way to get my old harddrives connected, so there was much browsing to be done. I found exactly what I was expecting, old personal photos and my archive of scanned negatives.

In the middle of 2008 I bought a phone that had a usable camera and a way to send it to my computer with out spending 25 cense to email it. I’ve had a digital camera since 2001, but pulling [...] Read More

WP_Query() :: meta_query vs post__in

WP_Query() :: meta_query vs post__in

After hours of sifting through error_logs and watching my terminal as the sql passed by I found my issue. meta_query vs post__in [...] Read More

December in Photos 2011

December in Photos 2011

Three weeks in Auburn CA & a trip to SF MOMA [...] Read More

Get WordPress user_id from meta_key meta_value pair

Get WordPress user_id from meta_key meta_value pair

Get a WordPress users id from meta_key and meta_value [...] Read More

November in Photos 2011

November in Photos 2011

My first full month of a new camera, well new phone! So here you have a lot more random pics than recent months. [...] Read More

Box Eye

Box Eye

I was browsing through my drawings this afternoon and saw this one. Sometimes it’s more apparent that my drawing start off as nothing and evolve as they go on, and I this is definitely one of them.

I started by drawing a box and then it just started morphing into more. I really like drawing little odd characters that seem like they are stuck in a fishbowl. [...] Read More

October in Photos 2011

October in Photos 2011

This month ended with me getting a new phone so I was really excited about better picture quality and a faster camera. My old phone was so slow that the camera wouldn’t even open. So you can expect a lot more useless pictures in the next couple of months.

[...] Read More

September in Photos 2011

September in Photos 2011

[...] Read More


You are viewing a mobilized version of this site...
View original page here

Mobilized by Mowser Mowser