Get a WordPress Category ID - Greg Rickaby
I struggled bus’d pretty hard on this one today. I needed to ignore the “featured” category in a loop, and to do so, WP_Query() requires the category ID. Luckily, I found get_term_by(); View the code on Gist.
Post to Tumblr