$content_type, 'post__in' => array_filter( $content_id ), 'orderby' => 'post__in', 'posts_per_page' => absint( 3 ), 'ignore_sticky_post' => true, ); $args = apply_filters( 'business_vibes_team_section_args', $args ); business_vibes_render_team_section( $args ); /** * Render Team Section */ function business_vibes_render_team_section( $args ) { $section_title = get_theme_mod( 'business_vibes_team_section_title', __( 'Our Team', 'business-vibes' ) ); $section_subtitle = get_theme_mod( 'business_vibes_team_section_subtitle', '' ); $view_all_button = get_theme_mod( 'business_vibes_team_button_label', 'View All' ); $view_all_button_url = get_theme_mod( 'business_vibes_team_button_link', '' ); $query = new WP_Query( $args ); if ( $query->have_posts() ) { ?>

have_posts() ) : $query->the_post(); $designation = get_theme_mod( 'business_vibes_team_designation_' . $i, '' ); $contact_number = get_theme_mod( 'business_vibes_team_contact_number_' . $i, '' ); $email_address = get_theme_mod( 'business_vibes_team_email_address_' . $i, '' ); $social_links_str = get_theme_mod( 'business_vibes_team_social_links_' . $i ); if ( ! empty( $social_links_str ) ) { $social_links[ get_the_ID() ] = explode( ',', $social_links_str ); } ?>