コード例 #1
0
ファイル: template-home.php プロジェクト: sebfabiani/vcv
         home_service_columns_second();
     }
     break;
 case "servicecolumns_third":
     if (isset($metadata['activate_service_columns_third']) && $metadata['activate_service_columns_third'] == 'on') {
         home_service_columns_third();
     }
     break;
 case "portfolio":
     if (isset($metadata['activate_portfolio']) && $metadata['activate_portfolio'] == 'on') {
         home_portfolio();
     }
     break;
 case "blog":
     if (isset($metadata['activate_latest_blog']) && $metadata['activate_latest_blog'] == 'on') {
         home_blog_columns();
     }
     break;
 case "testimonials":
     if (isset($metadata['activate_testimonials']) && $metadata['activate_testimonials'] == 'on') {
         home_testimonials();
     }
     break;
 case "clients":
     if (isset($metadata['activate_clients']) && $metadata['activate_clients'] == 'on') {
         home_clients();
     }
     break;
 case "marketing_one":
     if (isset($metadata['activate_marketing_1']) && $metadata['activate_marketing_1'] == 'on') {
         render_marketing_area($metadata, 'left', true, "1");
コード例 #2
0
         $count++;
     }
     break;
 case "portfolio":
     if (isset($metadata['activate_portfolio']) && $metadata['activate_portfolio'] == 'on') {
         //check if item is last item
         $lastborder = $home_item == $last ? true : false;
         lambda_portfolio_columns($metadata, $count, false, 'latest-portfolio', $lastborder);
         $count++;
     }
     break;
 case "blog":
     if (isset($metadata['activate_latest_blog']) && $metadata['activate_latest_blog'] == 'on') {
         //check if item is last item
         $lastborder = $home_item == $last ? true : false;
         home_blog_columns($count, $lastborder);
         $count++;
     }
     break;
 case "testimonials":
     if (isset($metadata['activate_testimonials']) && $metadata['activate_testimonials'] == 'on') {
         //check if item is last item
         $lastborder = $home_item == $last ? true : false;
         home_testimonials($count, $lastborder);
         $count++;
     }
     break;
 case "clients":
     if (isset($metadata['activate_clients']) && $metadata['activate_clients'] == 'on') {
         //check if item is last item
         $lastborder = $home_item == $last ? true : false;