if (have_posts()) :
while (have_posts()) : the_post();
$more = 0;
$extraclass = 'noImage';
$terms = get_the_term_list( $post->ID, 'portfolio_entries', '', ', ', '' );
//get preview image
$big_prev_image = kriesi_post_thumb($post->ID, array('size'=> array('M'),
'wh' => $k_option['custom']['imgSize']['M'],
'display_link' => array('permalink')
));
if($big_prev_image != "")
{
echo "
".$big_prev_image."";
$extraclass ='withImage';
}
?>
$category = get_the_category();
if(isset($category[0]->cat_name) || $terms != ''){
?>
Posted in: Uncategorized- } ?>
the_time('M d, Y') ?>
the_excerpt(); ?>
edit_post_link('Edit', '', ''); ?>
endwhile;
else:
echo'
'.__('Nothing Found','avisio').'
';
echo'
'.__('Sorry, your search didn\'t return any results.','avisio').'
';
echo'
'.__('Please try again with another term.','avisio').'
';
endif;
kriesi_pagination();
echo "