Home › Forums › Back End › Destroyed by syntax error › Re: Destroyed by syntax error
September 24, 2012 at 10:10 pm
#110722
beeblebrox
Participant
$cat_post = new WP_Query( array(
‘posts_per_page’ => 1,
‘category__in’ => array(2),
‘post_type’ => array(
‘post’,
‘custom1’,
‘custom2’,
‘custom3’
)
));