$aster_it_solutions_content_type, 'post__in' => array_filter( $aster_it_solutions_content_ids ), 'orderby' => 'post__in', 'posts_per_page' => absint(3), 'ignore_sticky_posts' => true, ); // Apply category filter only if content type is 'post' if ( 'post' === $aster_it_solutions_content_type && ! empty( $aster_it_solutions_services_category ) ) { $aster_it_solutions_service_args['category_name'] = $aster_it_solutions_services_category; } $aster_it_solutions_service_args = apply_filters( 'aster_it_solutions_service_section_args', $aster_it_solutions_service_args ); aster_it_solutions_render_service_section( $aster_it_solutions_service_args ); /** * Render Service Section. */ function aster_it_solutions_render_service_section( $aster_it_solutions_service_args ) { ?>

have_posts() ) : ?>
have_posts() ) : $aster_it_solutions_query->the_post(); ?>