$sticky,
‘post_status’ => ‘publish’,
‘posts_per_page’ => 2,
‘no_found_rows’ => true
);
// The Sticky Posts query.
$featured = new WP_Query( $featured_args );
global $hpost_class;
// Proceed only if sticky posts exist
if ( $featured->have_posts() ){
?>
have_posts() ){
$featured->the_post();
$loop++;
$hpost_class = ‘column-‘. ((($loop – 1) % $NUMER_OF_POST_COLUMNS) + 1);
?>
<div class="items-row cols- row-“>