I have been searching everywhere, I am attempting to query to obtain the custom posts that are within this publish type having a particular taxonomy value set.
register_post_type('toy',$args); register_taxonomy( 'age_group', 'toy', array( 'query_var' => true, 'hierarchical' => true, 'label' => __('Age Group') ) );
How do i do that?
I attempted this, however it did not work.
$recent = new WP_Query("age_group=test&post_type=toy&showposts=5");
I awoke today and attempted it again. It really works, why? ... nevermind. Maybe working past too far in to the evening.
$recent = new WP_Query("age_group=test&post_type=toy");