Get only parent terms from wp_get_post_terms Thanks, I had the args confused with another function. Now, the only issue is that the parent category is not being applied to the child. IE category A should be applied to a post for category A.1. Before this snippet category A.1 was being applied, but now it is just blank.
WP 3.5 and Galleries - how to count images? Not getting any results for this. In wp_posts in the DB, the only posts which are attachments that I'm seeing are Featured Images.