
<?php  
  $args_services= array(
    'post_type' => 'our_services',
    'post_status' => 'publish',
    'order' => 'DESC',
    'posts_per_page' => 4
  );
  $my_services  = new WP_Query ($args_services);
?>
<div id="content-wrap">
  <div class="floating-pattern">
    <div class="container" style="margin-top: 90px;">
      <div class="row">
        <div class="col-sm-7">
          <div style="max-width:600px;margin: auto;">
            <div class="title">Our Sevices</div>
          </div>
        </div>
      </div>
    </div>
  </div>
</div>
<div class="container container--masonary">
<div class="row clearfix equal-cols my-5">
<?php while ($my_services->have_posts()) : $my_services->the_post(); ?>
    <div class="service-block-four col-lg-6 col-md-6 col-sm-12">
      <div class="inner-box">
      <div class="patern-layer" style="background-image: url(<?php echo get_stylesheet_directory_uri(); ?>/asset/image/service-curve-1.png)"></div>
        <div class="icon-box clearfix">
          <span class="icon icon flaticon-statistics"><?php echo the_field('icon') ?></span>
          <h5><a href="<?php the_permalink(); ?>"><?php the_title(); ?></a></h5>
        </div>
        <div class="side-icon icon flaticon-statistics"><?php echo the_field('icon') ?></div>
      </div>
    </div>
<?php  endwhile; 
wp_reset_postdata();?>
</div>
</div>