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

esc_html($adventure_trekking_camp_activities_category ,'adventure-trekking-camp'), 'posts_per_page' => get_theme_mod('adventure_trekking_camp_service_count'), 'order' => 'DESC', // Default order ); // Adjust ordering based on user selection if ($adventure_trekking_camp_our_activities_order == 'ascending') { $adventure_trekking_camp_args['order'] = 'ASC'; } else if ($adventure_trekking_camp_our_activities_order == 'a-to-z') { $adventure_trekking_camp_args['orderby'] = 'title'; $adventure_trekking_camp_args['order'] = 'ASC'; } else if ($adventure_trekking_camp_our_activities_order == 'z-to-a') { $adventure_trekking_camp_args['orderby'] = 'title'; $adventure_trekking_camp_args['order'] = 'DESC'; } $adventure_trekking_camp_page_query = new WP_Query( $adventure_trekking_camp_args ); while( $adventure_trekking_camp_page_query->have_posts() ) : $adventure_trekking_camp_page_query->the_post(); ?>
ID, 'adventure_trekking_camp_trekking_rating', true) ) {?>
ID,'adventure_trekking_camp_trekking_rating',true)); ?>

ID, 'adventure_trekking_camp_trekking_amount', true) ) {?>
ID,'adventure_trekking_camp_trekking_amount',true)); ?>

>