1,
'post__not_in' => get_option( 'sticky_posts' ),
'tax_query' => array(
array(
'taxonomy' => 'post_format',
'terms' => array( 'post-format-aside' ),
'field' => 'slug',
'operator' => 'NOT IN'
)
)
);
$the_query = new WP_Query( $latest_args );
while ( $the_query->have_posts() ) : $the_query->the_post();
?>
>
→', 'woothemes' ) ); else the_excerpt(); ?>
$sticky_posts,
'posts_per_page' => 50,
'tax_query' => array(
array(
'taxonomy' => 'post_format',
'terms' => array( 'post-format-aside' ),
'field' => 'slug',
'operator' => 'NOT IN'
)
)
);
$sticky_query = new WP_Query( $sticky_args );
if ( $sticky_query->have_posts() ) :
?>
have_posts() ) : $sticky_query->the_post(); ?>
50,
'tax_query' => array(
array(
'taxonomy' => 'post_format',
'field' => 'slug',
'terms' => array( 'post-format-aside' )
)
)
);
$aside_query = new WP_Query( $args );
if ( $aside_query->have_posts() ) :
?>
' . $aside_heading . '';
}
?>
have_posts() ) : $aside_query->the_post();?>
- ') ); ?>