'post', 'posts_per_page' => 20, 'order' => 'ASC', 'tax_query' => array( array( 'taxonomy' => 'post_format', 'field' => 'slug', 'terms' => 'post-format-image', ))); else : $args = array( 'post_type' => 'post', 'posts_per_page' => 20, 'tax_query' => array( array( 'taxonomy' => 'post_format', 'field' => 'slug', 'terms' => 'post-format-image', ))); endif; $myposts = get_posts( $args ); foreach( $myposts as $post ) : setup_postdata($post); ?>
'; echo '.gridsby-home-widget-area .widget { width: 50%; float:left; padding-right: 30px; }'; echo '@media handheld, only screen and (max-width: 767px) {'; echo '.gridsby-home-widget-area .widget { width: 100%; float:none; padding-right: 0px; }'; echo '}'; echo ''; break; case 'option3': echo ''; break; case 'option4': echo ''; break; } } ?>

'post', 'posts_per_page' => 3, 'tax_query' => array( array( 'taxonomy' => 'post_format', 'field' => 'slug', 'terms' => 'post-format-image', 'operator' => 'NOT IN' ) )); $myposts = get_posts( $args ); foreach( $myposts as $post ) : setup_postdata($post); ?>
ID), 'full' ); $url = $thumb['0']; ?>