0 && is_array($features) )
{
$post_in[0] = $features['main'];
foreach ( $features as $our_services )
{
if( isset( $our_services['page_ids'] ) && !empty( $our_services['page_ids'] ) )
{
$post_in[] = $our_services['page_ids'];
}
}
}
if( !empty( $post_in )) :
$services_page_args = array(
'post__in' => $post_in,
'orderby' => 'post__in',
'posts_per_page' => count( $post_in ),
'post_type' => 'page',
'no_found_rows' => true,
'post_status' => 'publish'
);
$services_query = new WP_Query( $services_page_args );
/*The Loop*/
if ( $services_query->have_posts() ):
$i = 1;
while ( $services_query->have_posts() ):$services_query->the_post();
$icon = get_post_meta( get_the_ID(), 'nexas_icon', true );
$idvalue[] = get_the_ID();
?>