index.php 10.3 KB
<?php $get_lang = isset($wp_query->query_vars['prisna_translate_seo_request'])?urldecode($wp_query->query_vars['prisna_translate_seo_request']):''; ?>
<?php get_header();?>
<section class="web_main index_main">
  <!-- banner -->
  
  <div class="slider_banner">
    <div class="swiper-wrapper">
      <?php $images = get_get_field('ad_index_banner'); if( $images ): foreach( $images as $image ): ?>
      <div class="swiper-slide"> <a href="<?php echo $image['alt']; ?>"> <img src="<?php echo $image['url']; ?>" alt="<?php echo $image['title']; ?>"/></a></div>
      <?php endforeach; endif; ?>
    </div>
    <div class="swiper-pagination swiper-pagination-white"></div>
    <div class="swiper-button-next swiper-button-white"></div>
    <div class="swiper-button-prev swiper-button-white"></div>
  </div>
  
  <div class="company_subscribe">
      <div class="layout"> <span>we are buildwall</span>
        <h2 class="wow fadeInLeftA title">We have been transforming the ideas into award-winning projects.</h2>
        <a href="javascript:" class=" wow fadeInRightA button">Request a quote</a> </div>
    </div>
    <div class="index_about_wrap layout">
      <div class="index_title">
        <h2 class="wow fadeInUpA  title">about us</h2>
        <div class="wow fadeInUpA  sub_title" data-wow-delay=".1s">BuildWall is a diversified construction company, made up of teams of people who are proven in their industries. All working to design, build, transport, operate, and maintain projects all over the USA. But we believe that projects are about more than concrete and steel.</div>
         </div>
      <ul class="about_items">
       <?php $args = array('showposts' => 12, 'post_type' => 'post', 'meta_query' => array( 'relation' => 'OR', array( 'key' => 'special','value' => 'Feature Products','compare' => 'LIKE')));

$the_query = new WP_Query( $args );$i=1; if( $the_query->have_posts() ): while ( $the_query->have_posts() ) : $the_query->the_post(); ?>
        <li class="about_item">
          <figure> <span class="item_img"> <a href="<?php the_permalink() ?>"><img src="<?php $images = get_field('product_gallery'); if( $images ): for($x=0;$x<1; $x++){ ?><?php echo $images[0]['sizes']['thumbnail']; ?><?php } endif; ?>" alt="<?php echo mb_strimwidth(strip_tags(apply_filters('the_title',$post->post_title)), 0, 200,"..."); ?>"/></a></span>
            <figcaption>
              <h3 class="item_title"><a href="<?php the_permalink() ?>"><?php echo mb_strimwidth(strip_tags(apply_filters('the_title',$post->post_title)), 0, 50,"..."); ?></a></h3>
              <div class="item_del"><?php echo mb_strimwidth(strip_tags(apply_filters('the_content',$post->post_title)), 0, 50,"..."); ?></div>
            </figcaption>
          </figure>
        </li>
  <?php $i++; endwhile; endif;  wp_reset_query(); ?>  
      </ul>
      <a href="<?php echo home_url("/"); ?>products/" class="about_btn">view more</a> </div>
  
  <div class="index_projects">
      <div class="index_title">
        <h2 class="wow fadeInUpA  title">Latest projects</h2>
      </div>
      <ul class="product_items">
        <li class="wow fadeInUpA product_item" data-wow-delay=".1s">
          <figure> <span class="item_img"><img src="template/img/demo/pd01.jpg" alt="" /><a href="product.html"></a></span>
            <figcaption>
              <div class="info_top"> <span>office</span>
                <h3 class="item_title"><a href="product.html">Limoges, France</a></h3>
                <div class="item_info">BuildWall has worked on this site continuously since 2006 and enjoys a long-standing relationship with Shell Canada. In June 2010,...</div>
              </div>
              <a href="" class="project_btn">learn more</a> </figcaption>
          </figure>
        </li>
        <li class="wow fadeInUpA product_item" data-wow-delay=".2s">
          <figure> <span class="item_img"><img src="template/img/demo/pd02.jpg" alt="" /><a href="product.html"></a></span>
            <figcaption>
              <div class="info_top"> <span>office</span>
                <h3 class="item_title"><a href="product.html">Limoges, France</a></h3>
                <div class="item_info">BuildWall has worked on this site continuously since 2006 and enjoys a long-standing relationship with Shell Canada. In June 2010,...</div>
              </div>
              <a href="" class="project_btn">learn more</a> </figcaption>
          </figure>
        </li>
        <li class="wow fadeInUpA product_item" data-wow-delay=".3s">
          <figure> <span class="item_img"><img src="template/img/demo/pd03.jpg" alt="" /><a href="product.html"></a></span>
            <figcaption>
              <div class="info_top"> <span>office</span>
                <h3 class="item_title"><a href="product.html">Limoges, France</a></h3>
                <div class="item_info">BuildWall has worked on this site continuously since 2006 and enjoys a long-standing relationship with Shell Canada. In June 2010,...</div>
              </div>
              <a href="" class="project_btn">learn more</a> </figcaption>
          </figure>
        </li>
      </ul>
    </div>
    <div class="index_service_intr">
      <div class="layout">
        <div class="index_inner">
          <ul class="service_items">
            <li class="wow fadeInLeftA service_item" data-wow-delay=".4s">
              <figure> <span class="item_img"><img src="template/img/demo/calendar.png" alt=""/></span> <span class="item_img"><img src="template/img/demo/calendar.png" alt=""/></span>
                <figcaption>
                  <h3 class="item_title">40</h3>
                  <span class="item_text">projects</span> </figcaption>
              </figure>
            </li>
            <li class="wow fadeInLeftA service_item" data-wow-delay=".3s">
              <figure> <span class="item_img"><img src="template/img/demo/installation.png" alt=""/></span> <span class="item_img"><img src="template/img/demo/installation.png" alt=""/></span>
                <figcaption>
                  <h3 class="item_title">500+</h3>
                  <span class="item_text">years of experience</span></figcaption>
              </figure>
            </li>
            <li class="wow fadeInLeftA service_item" data-wow-delay=".2s">
              <figure> <span class="item_img"><img src="template/img/demo/country.png" alt=""/></span> <span class="item_img"><img src="template/img/demo/country.png" alt=""/></span>
                <figcaption>
                  <h3 class="item_title">7</h3>
                  <span class="item_text">qualified stuff</span></figcaption>
              </figure>
            </li>
            <li class="wow fadeInLeftA service_item" data-wow-delay=".1s">
              <figure> <span class="item_img"><img src="template/img/demo/d&bcerti.png" alt=""/></span> <span class="item_img"><img src="template/img/demo/d&bcerti.png" alt=""/></span>
                <figcaption>
                  <h3 class="item_title">2018</h3>
                  <span class="item_text">machineries</span></figcaption>
              </figure>
            </li>
          </ul>
        </div>
      </div>
    </div>
    <div class="Index_Lastest_News">
      <div class="index_title">
        <h2 class="wow fadeInUpA  title">Lastest News</h2>
      </div>
      <ul class="Lastest_News_Items layout">
       <?php query_posts(array( 'post_type' => 'news','showposts' => 5,'orderby' => 'post_date','order'=> 'DESC') ); while (have_posts()) : the_post();?>
        <li class="news_item">
          <figure> <span class="item_img"><?php $image = get_field('news_img');if( !empty($image) ): ?><img src="<?php echo $image['url']; ?>" alt="<?php echo mb_strimwidth(strip_tags(apply_filters('the_title',$post->post_title)), 0, 200,"..."); ?>"><?php endif; ?></span>
            <figcaption>
              <h3 class="news_title"><a href="<?php echo $get_lang?home_url('/')  .$get_lang.'/news/' . $post->post_name:home_url('/') .'news/' . $post->post_name ; ?>"><?php echo mb_strimwidth(strip_tags(apply_filters('the_title',$post->post_title)), 0, 44,"..."); ?></a></h3>
              <div class="news_date"><span><?php the_time('d M,y') ?></span></div>
              <div class="news_text"><?php echo mb_strimwidth(strip_tags(apply_filters('the_content', $post->post_content)), 0, 200,"..."); ?></div>
            </figcaption>
          </figure>
        </li>
         <?php endwhile; wp_reset_query();  ?> 
      </ul>
    </div>
    <div class="index_ad" style="background-image:url(<?php echo home_url("/"); ?>style/global/img/demo/image-2.jpg)">
      <div class="layout">
        <div class="index_title">
          <h2 class="wow fadeInUpA  title">Interesting in working with Buildwall?</h2>
          <span class="wow fadeInUpA  sub_title" data-wow-delay=".1s">Our road construction services help you to understand the behavior of road materials in relation to expected loads and deterioration mechanisms. We have the experience and expertise to test and assess the performance and durability of road materials and products.</span> </div>
        <ul class="ad_items">
         <?php $i=1; $images = get_get_field('ad_ico01'); if( $images ): foreach( $images as $image ): ?>
          <li class="wow fadeInLeftA ad_item" data-wow-delay=".3s">
            <figure> <span class="item_img"><img src="<?php echo $image['url']; ?>" alt="<?php echo $image['description']; ?>"/></span>
              <figcaption>
                <h3 class="item_title"><a href="<?php echo $image['alt']; ?>"><?php echo $image['title']; ?></a></h3>
                <a href="<?php echo $image['alt']; ?>" class="item_text"><?php echo $image['description']; ?></a> </figcaption>
            </figure>
            <figure> <span class="item_img"><img src="<?php echo $image['url']; ?>" alt="<?php echo $image['description']; ?>"/></span>
              <figcaption> <a href="<?php echo $image['alt']; ?>" class="item_text"><?php echo $image['description']; ?></a>
                <h3 class="item_title"><a href="<?php echo $image['alt']; ?>"><?php echo $image['title']; ?></a></h3>
              </figcaption>
            </figure>
          </li>
          <?php $i++;  endforeach; endif; ?>
        </ul>
      </div>
    </div>
  
  <div class="company_subscribe">
      <div class="layout"> <span>we are buildwall</span>
        <h2 class="wow fadeInLeftA title">We have been transforming the ideas into award-winning projects.</h2>
        <a href="javascript:" class=" wow fadeInRightA button">Request a quote</a> </div>
    </div>
</section>

<?php get_footer();?>