';
if( $app_landing_page_features_page){
$features_qry = new WP_Query( "page_id=$app_landing_page_features_page" );
if( $features_qry->have_posts() ){
while( $features_qry->have_posts() ){
$features_qry->the_post();
echo '';
}
wp_reset_postdata();
};
}
echo '
';
if( $app_landing_page_features_one_post || $app_landing_page_features_three_post || $app_landing_page_features_five_post ){
$app_landing_page_features_block_one = array( $app_landing_page_features_one_post, $app_landing_page_features_three_post, $app_landing_page_features_five_post );
$app_landing_page_features_block_one = array_diff( array_unique( $app_landing_page_features_block_one ), array('') );
$features_qry_one = new WP_Query( array(
'post_type' => 'post',
'posts_per_page' => -1,
'post__in' => $app_landing_page_features_block_one,
'orderby' => 'post__in',
'ignore_sticky_posts' => true
) );
if( $features_qry_one->have_posts() ){
echo '
';
while( $features_qry_one->have_posts() ){
$features_qry_one->the_post();
echo '
';
if( has_post_thumbnail() ){
echo '
';
the_post_thumbnail( 'app-landing-page-features-image-small' );
echo '
';
}
echo '
';
the_title('
', '
');
the_content();
echo '';
echo '
';
}
wp_reset_postdata();
echo '
';
}
}
if( $app_landing_page_features_page){
$features_qry = new WP_Query( "page_id=$app_landing_page_features_page" );
if( $features_qry->have_posts() ){
while( $features_qry->have_posts() ){
$features_qry->the_post();
if( has_post_thumbnail() ){
echo '
';
the_post_thumbnail( 'app-landing-page-features-image' );
echo '
';
}
}
wp_reset_postdata();
}
}
if( $app_landing_page_features_two_post || $app_landing_page_features_four_post || $app_landing_page_features_six_post ){
$app_landing_page_features_block_two = array( $app_landing_page_features_two_post, $app_landing_page_features_four_post, $app_landing_page_features_six_post );
$app_landing_page_features_block_two = array_diff( array_unique( $app_landing_page_features_block_two ), array('') );
$features_qry_two = new WP_Query( array(
'post_type' => 'post',
'posts_per_page' => -1,
'post__in' => $app_landing_page_features_block_two,
'orderby' => 'post__in',
'ignore_sticky_posts' => true,
'offset' => 3
) );
if( $features_qry_two->have_posts() ){
echo '
';
while( $features_qry_two->have_posts() ){
$features_qry_two->the_post();
echo '
';
if( has_post_thumbnail() ){
echo '
';
the_post_thumbnail( 'app-landing-page-features-image-small' );
echo '
';
}
echo '
';
the_title('
', '
');
the_content();
echo '';
echo '
';
}
wp_reset_postdata();
echo '
';
}
}
echo '