'All'
), $atts));
ob_start();
?>
5,
'numberposts' => 5,
'offset' => 0,
'category' => '',
'orderby' => 'post_date',
'order' => 'DESC',
'post_type' => 'screenshot',
'post_status' => 'publish',
);
if($srncat != 'All'){
$args['tax_query'][] = array(
'taxonomy' => 'screenshot_catagories',
'field' => 'slug',
'terms' => $srncat);
}
$all_pics = get_posts( $args );
foreach($all_pics as $single_pic){
$imageurl = wp_get_attachment_image_src( get_post_thumbnail_id($single_pic->ID),'medium' );
$image_full = wp_get_attachment_image_src( get_post_thumbnail_id($single_pic->ID) ,array(720,470) );
?>
-