I’m apparently retarded, and i have a hard time figuring out a simple task as getting all posts with a certain category. I tried:
- query_posts()
- New Query()
but im struggling to get something out of them
$args = array(
'post_type' => 'fb',
'fbcate_category' => array(35),
'order' => 'DESC',
'posts_per_page' => -1,
);
$posts_array = new WP_Query($args);
I’ve tried similar with query_posts(), but I don’t get anything out except a empty array of that either.