index.php 4.0 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();?>
<div class="banner_flexslider">
          <ul class="slides">
           <?php $images = get_get_field('ad_index_banner'); if( $images ): foreach( $images as $image ): ?>
            <li class="item"><img src="<?php echo $image['url']; ?>" alt="<?php echo $image['title']; ?>"/>
            <div class="banner_info"><div class="wrap">
            <h2 class="wow fadeInUpA title"><?php echo $image['title']; ?></h2>
            <div class="wow fadeInUpA text" data-wow-delay=".1s"><?php echo $image['description']; ?></div>
            <div class="wow fadeInUpA more" data-wow-delay=".2s"><a href="<?php echo $image['alt']; ?>">Read More</a></div>
            </div>
            </div>
            </li>
           <?php endforeach; endif; ?>
          </ul>
        </div>

<section class="main_content"> 
<div class="company-synopses">
        <ul class="gm-sep">
        <?php $i=1; $images = get_get_field('ad_ico01'); if( $images ): foreach( $images as $image ): ?>
          <li class="synopsis-item">
            <figure class="item-wrap"> 
               <a href="<?php echo $image['alt']; ?>" class="item-img"><img src="<?php echo $image['url']; ?>" alt="<?php echo $image['title']; ?>"/></a>
              <figcaption class="wow fadeInRightA  item-info">
                <h2 class="item-title"><?php echo $image['title']; ?></h2>
                <div class="item-detail"><?php echo $image['description']; ?></div>
              </figcaption>
            </figure>
          </li>
           <?php  $i++; endforeach; endif; ?>
        </ul>
        
      </div>
      <div class="about-us">
    	<div class="layout">
            <h2 class="wow fadeInLeftA about-title"><a href="<?php echo home_url("/"); ?>about-us/">Click And<span> More About Us</span></a></h2>
            <a href="<?php echo home_url("/"); ?>about-us/" class="wow fadeInRightA about-more">read more</a>
            
        </div>
    </div>
 
  <!--index-product-wrap-->
  <ul class="wow fadeInUpA product-items">
  <?php $args = array('showposts' => 8, 'post_type' => 'post', 'meta_query' => array( 'relation' => 'OR', array( 'key' => 'special','value' => 'Feature Products','compare' => 'LIKE')));
$the_query = new WP_Query( $args ); if( $the_query->have_posts() ): while ( $the_query->have_posts() ) : $the_query->the_post(); ?>
           <li class="product-item">
                          <figure class="item-wrap">
                              <a class="item-img" href="<?php the_permalink() ?>" title="<?php echo mb_strimwidth(strip_tags(apply_filters('the_title',$post->post_title)), 0, 300,""); ?>"><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>
                              <figcaption class="item-info">
                                    <h3 class="item-title"><a href="<?php the_permalink() ?>" title="<?php echo mb_strimwidth(strip_tags(apply_filters('the_title',$post->post_title)), 0, 300,""); ?>"><?php echo mb_strimwidth(strip_tags(apply_filters('the_title',$post->post_title)), 0, 50,"..."); ?></a></h3>
                              </figcaption>
                            </figure>
                        </li>
                     <?php endwhile; endif;  wp_reset_query(); ?>
          </ul>

  
  <!--index-product-wrap--> 
 
  <div class="subscribe">
    <div class="layout">
    	<h2 class="wow fadeInUpA title">NEWSLETTER</h2>
            	<span class="wow fadeInUpA"  data-wow-delay=".1s"><?php get_the_field('inquiry_price_text'); ?></span>
                <div class="wow fadeInUpA button"  data-wow-delay=".2s" onclick="showMsgPop();">Subscribe</div>
            </div>
            </div>
  
 
 

   </section>
<?php get_footer();?>