I have a loop to show my custom post type of 'case_studies'. It originally showed all posts until I wanted to just show 3 specific posts. The problem is that it only shows the first post in my list of 'p=54,49,44'. What am I doing wrong?
$case_studies = new WP_Query();
$count = 0;
$case_studies->query('post_type=case_studies&p=54,49,44');
while($case_studies->have_posts()) : $case_studies->the_post(); $count++;
$custom = get_post_custom($post->ID);
$case_studies_image_url = $custom['second_image'][0];
pparameter is for single post selection(just a specific one), if you need a group usepost__inas suggested by Steve. – t31os Feb 4 '11 at 12:14