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()) {
$beauty_salon_spa_args['post__in'] = get_option('sticky_posts');
}
$beauty_salon_spa_query = new WP_Query( $beauty_salon_spa_args );
if ( $beauty_salon_spa_query->have_posts() ) :
$i = 1;
?>
have_posts() ) : $beauty_salon_spa_query->the_post(); ?>
>