'1'),$atts); $output = ''; if (isset($atts['id'])) { $postIds = $atts['id']; } $args = array ('p' => $postIds,'post_type' => array( 'atlas_discuss_form' )); // The Query $query = new WP_Query( $args ); // The Loop if ( $query->have_posts() ) { while ( $query->have_posts() ) { $query->the_post(); $output .= '
'; $output .= '
'; $output .= '
'; $output .= '
'; $output .= 'account_circle'; $output .= ''; $output .= ''; $output .= '
'; $output .= '
'; $output .= 'account_circle'; $output .= ' '; $output .= ''; $output .= '
'; $output .= '
'; $output .= 'perm_identity'; $output .= ' '; $output .= ''; $output .= '
'; $output .= '
'; $output .= 'email'; $output .= ''; $output .= ''; $output .= '
'; $output .= '
'; $output .= 'phone'; $output .= ''; $output .= ''; $output .= '
'; $output .= '
'; $output .= 'find_in_page'; $output .= ''; $output .= ''; $output .= '
'; $output .= '
'; $output .= '
project scope
'; $output .= '

Please select from the services below. The estimated budget range will adjust accordingly.

'; $output .= '
'; $output .= '
    '; $custom_text = get_post_meta($postIds, 'adf_build', true); $counter = 1; if($custom_text) { $output .= '
  • '; $output .= '
    filter_drama'.get_post_meta($postIds, 'adf_field1', true).' add
    '; $output .= '
    '; foreach ($custom_text as $key => $val) { $output .= '
    '; $output .= ''; $output .= ''; $output .= '
    '; $counter++; } $output .= '
    '; $output .= '
  • '; } $custom_text = get_post_meta($postIds, 'adf_theme', true); if($custom_text) { $output .= '
  • '; $output .= '
    filter_drama'.get_post_meta($postIds, 'adf_field2', true).' add
    '; $output .= '
    '; foreach ($custom_text as $key => $val) { $output .= '
    '; $output .= ''; $output .= ''; $output .= '
    '; $counter++; } $output .= '
    '; $output .= '
  • '; } $custom_text = get_post_meta($postIds, 'adf_on_go', true); if($custom_text) { $output .= '
  • '; $output .= '
    filter_drama'.get_post_meta($postIds, 'adf_field3', true).' add
    '; $output .= '
    '; foreach ($custom_text as $key => $val) { $output .= '
    '; $output .= ''; $output .= ''; $output .= '
    '; $counter++; } $output .= '
    '; $output .= '
  • '; } $output .= '
'; $output .= '
'; /*if(get_post_meta($postIds, 'adf_branding', true) || get_post_meta($postIds, 'adf_web', true) || get_post_meta($postIds, 'adf_tddigital', true)) {*/ $output .= '
'; $output .= '
'; $output .= ''; $output .= ''; $output .= '
'; $output .= '
'; $output .= ''; $output .= '
'; $output .= ''; $output .= '
'; $output .= '
'; $output .= '
'; //} $output .= '
'; $output .= '
'; $output .= ''; $output .= '
'; $output .= '
'; $output .= 'open_in_browser'; $output .= ''; $output .= ''; $output .= '
'; $output .= '
'; $output .= '
'; $output .= 'live_help'; $output .= ''; $output .= ''; $output .= '
'; $output .= '
'; $output .= 'search'; $output .= ''; $output .= ''; $output .= '
'; $output .= '
'; $output .= 'visibility'; $days = array('Sunday','Monday','Tuesday','Wednesday','Thursday','Friday','Saturday'); $indx = array_rand($days); $output .= ''; $output .= ''; $output .= '
'; $output .= '
'; $output .= ''; $output .= '
'; $output .= '
'; $output .= '
'; } }else{ $output .= 'Please check your shortcode or re-copy and past'; } $output .= wp_reset_query(); $output .= wp_reset_postdata(); return $output; } add_shortcode( 'atlas-discuss-form-demo', 'atlas_discuss_form_shortcode' ); } ?>