publish; $post_id = ($awada_theme_options['portfolio_post'] == ''?'':$awada_theme_options['portfolio_post']); $portfolio_id = intval($post_id); $args = array('post_type' => 'post', 'posts_per_page' => $count_posts, 'post__not_in' => array($portfolio_id) ); query_posts($args); if (query_posts($args)) { $i = 1; $j = 1; while (have_posts()):the_post(); if($i==1){ $pos = 'first'; } elseif($i==2){ $pos = ''; } else if($i==3){ $pos = 'last'; $i = 0; } ?>
>
'img-responsive'); ?>