Hi!
I'm trying not to go crazy here, but for the moment I'm very close, so if any one can help I'll be very happy.
The problem is this:
$showPost = get('slide_id',1,1,FALSE,$post->ID);
$args = array(
'category_name' => 'slideshow',
array('post__in' => array($showPost)),
'showposts'=> -1,
'order' => 'DESC'
);
The $showPost gets it's data from a custom field called slide_id (I use the magic fields plugin) and the string it puts out could be something like: 101,185,166
The numbers is post id's that I want to be showen. My problem is that the $showPost don't make an array that wp like. I know that the $showPost is not an array to start with is just: 101,185,166 ect. But my guess was that when I wraped it in array() it would be one.
What I'm going for is only to pull the post that I specify in the main post's custom field. And output the data befor the main loop in it's own WP_query and that work beside I can't specify the presice ID I want.
Hope some can suppley a quick anwser, Mads