array('post'),
'post__in' => $beauty_salon_spa_slide_post,
'ignore_sticky_posts' => true, // Exclude sticky posts by default
);
// Check if specific posts are selected
if (empty($beauty_salon_spa_slide_post) && is_sticky()) {
$barbershop_nail_salon_args['post__in'] = get_option('sticky_posts');
}
$barbershop_nail_salon_query = new WP_Query( $barbershop_nail_salon_args );
if ( $barbershop_nail_salon_query->have_posts() ) :
$i = 1;
?>
have_posts() ) : $barbershop_nail_salon_query->the_post(); ?>
>