'post', 'ignore_sticky_posts' => 1, // ignore sticky posts. ); $args['post_type'] = 'featured-content'; for ( $i = 1; $i <= $number; $i++ ) { $abletone_post_id = ''; $abletone_post_id = get_theme_mod( 'abletone_featured_content_cpt_' . $i ); if ( $abletone_post_id && '' !== $abletone_post_id ) { $post_list = array_merge( $post_list, array( $abletone_post_id ) ); $no_of_post++; } } $args['post__in'] = $post_list; $args['orderby'] = 'post__in'; if ( ! $no_of_post ) { return; } $args['posts_per_page'] = $no_of_post; $loop = new WP_Query( $args ); while ( $loop->have_posts() ) : $loop->the_post(); ?>
>
','' ); ?>

' . $excerpt . '

'; ?>