$team_content_type, 'posts_per_page' => absint( 3 ), 'ignore_sticky_posts' => true, ); if ( ! empty( array_filter( $team_content_ids ) ) ) { $team_args['post__in'] = array_filter( $team_content_ids ); $team_args['orderby'] = 'post__in'; } else { $team_args['orderby'] = 'date'; } $team_args = apply_filters( 'bizzweb_team_section_args', $team_args ); bizzweb_render_team_section( $team_args ); /** * Render Team Section. */ function bizzweb_render_team_section( $team_args ) { $query = new WP_Query( $team_args ); if ( $query->have_posts() ) { $section_title = get_theme_mod( 'bizzweb_team_section_title', __( 'Meet Our volunteers', 'bizzweb' ) ); $section_subtitle = get_theme_mod( 'bizzweb_team_subtitle', '' ); ?>

have_posts() ) : $query->the_post(); $designation = get_theme_mod( 'bizzweb_team_designation_' . $i, '' ); $social_links_str = get_theme_mod( 'bizzweb_team_social_links_' . $i ); if ( ! empty( $social_links_str ) ) { $social_links[ get_the_ID() ] = explode( ',', $social_links_str ); } ?>