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?
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?
Solved:
$url = get_post_custom_values("url", $slider->ID);
$thumb = get_the_post_thumbnail($slider->ID,"large");