$apt_id, 'post_type' => 'abc-pricing', 'orderby' => 'ASC'); $pricing_loop = new WP_Query( $all_pricingtable ); $count = count($pricing_name); //foreach($pricing_name as $new_name){ ?>
have_posts() ) { while ( $pricing_loop->have_posts() ) : $pricing_loop->the_post(); if($pricing_table_design == 'template1') { $template_number = 'template1'; include('assets/css/template1.php'); } if($pricing_table_design == 'template2') { $template_number = 'template2'; include('assets/css/template2.php'); } if($pricing_table_design == 'template3') { $template_number = 'template3'; include('assets/css/template3.php'); } if($pricing_table_design == 'template4') { $template_number = 'template4'; include('assets/css/template4.php'); } if($pricing_table_design == 'template1') { ?>
">

    '; $icon_right = ''; if(is_array($pricing_features)) { $bits = explode("\n", $pricing_features[$i]); $feature_count = count($bits); for($j=0; $j<$feature_count; $j++) { $bit = trim($bits[$j]); if(!empty($bit)) { ?>
">

    '; $icon_right = ''; if(is_array($pricing_features)) { $bits = explode("\n", $pricing_features[$i]); $feature_count = count($bits); for($j=0; $j<$feature_count; $j++) { $bit = trim($bits[$j]); if(!empty($bit)) { ?>
">

    '; $icon_right = ''; if(is_array($pricing_features)) { $bits = explode("\n", $pricing_features[$i]); $feature_count = count($bits); for($j=0; $j<$feature_count; $j++) { $bit = trim($bits[$j]); if(!empty($bit)) { ?>
">

    '; $icon_right = ''; if(is_array($pricing_features)) { $bits = explode("\n", $pricing_features[$i]); $feature_count = count($bits); for($j=0; $j<$feature_count; $j++) { $bit = trim($bits[$j]); if(!empty($bit)) { ?>