'page', 'post__in' => $biography_fs_posts_ids, 'posts_per_page' => 3, 'orderby' => 'post__in' ); } } if( !empty( $biography_fs_args )){ // the query $biography_fs_contents_array = array(); $biography_fs_post_query = new WP_Query( $biography_fs_args ); if ( $biography_fs_post_query->have_posts() ) : $i = 0; while ( $biography_fs_post_query->have_posts() ) : $biography_fs_post_query->the_post(); $biography_fs_contents_array[$i]['biography-fs-title'] = get_the_title(); $biography_fs_contents_array[$i]['biography-fs-link'] = get_permalink(); $i++; endwhile; wp_reset_postdata(); endif; } return $biography_fs_contents_array; } endif; if ( ! function_exists( 'biography_text_slider' ) ) : /** * Featured Slider * * @since Biography 1.0.0 * * @param null * @return null * */ function biography_text_slider() { global $biography_customizer_saved_options; if( 1 != $biography_customizer_saved_options['biography-fs-enable'] ){ return null; } $biography_slider_arrays = biography_text_slider_array(); if( is_array( $biography_slider_arrays )){ ?>