ID ) ) : ?>
ID, 'themeora-thumbnail-span-12' ); ?>
'page', 'meta_key' => '_wp_page_template', 'meta_value' => 'template-portfolio-item.php', 'post_status' => 'publish', 'posts_per_page' => 3, 'orderby' => 'menu_order', 'order' => 'DESC', 'post__not_in' => array($post->ID) //exclude current post ); $wp_query = new WP_Query( $args ); //set the grid based on theme options $gridClass = 'col-md-4 col-sm-4'; $img_size = 'themeora-portfolio-span-8'; ?> have_posts() ) : ?>

have_posts() ) : $wp_query->the_post(); ?>
post->ID )) : ?>
post->ID ), $img_size ); ?>