views:

13

answers:

1

Here is my code:

    $data = array('cat' => '3');
    $sliderData = query_posts($data);

But I also use custom fields, and post thumbnail, how can I get those?

+1  A: 

Solved:

       $url = get_post_custom_values("url", $slider->ID);
       $thumb = get_the_post_thumbnail($slider->ID,"large");
Uffo