3,
'ignore_sticky_posts' => 1,
'post__not_in' => get_option( 'sticky_posts' ),
'meta_query' => array(
array(
'key' => 'firstsite-featured',
'value' => 'yes'
)
)
);
$featured_posts = new WP_Query($args);
if ( $featured_posts->have_posts() ) {
?>
have_posts() ) : $featured_posts->the_post();
?>
-
';
}
?>
4,
'offset' => 3,
'ignore_sticky_posts' => 1,
'post__not_in' => get_option( 'sticky_posts' ),
'meta_query' => array(
array(
'key' => 'firstsite-featured',
'value' => 'yes'
)
)
);
$featured_posts = new WP_Query($args);
if ( $featured_posts->have_posts() ) {
?>
have_posts() ) : $featured_posts->the_post();
?>