'; echo '
'; while (have_posts ()) { the_post(); $args = array('orderby' => 'none'); $class = isset($tw_options['column'])?"span".$tw_options['column']:'span3'; $height = !empty($tw_options['height']) ? $tw_options['height'] : tw_option('port_height'); $width = 270; if($class=='span6'){ $width = 570; }elseif($class=='span4'){ $width = 370; } $cats = wp_get_post_terms($post->ID, 'portfolios', $args); foreach ($cats as $catalog) { $class .= " category-" . $catalog->slug; } ?>
>
'; echo '
'; if($tw_options['pagination']=="simple"){ pagination(); }elseif($tw_options['pagination']=="infinite"){ infinite(); } wp_reset_query(); }