Current File : //home/quantums/gsc-ltd.net/wp-content/themes/twentyseventeen-child/index.php
<?php
/**
 * The main template file
 *
 * This is the most generic template file in a WordPress theme
 * and one of the two required files for a theme (the other being style.css).
 * It is used to display a page when nothing more specific matches a query.
 * E.g., it puts together the home page when no home.php file exists.
 *
 * @link https://codex.wordpress.org/Template_Hierarchy
 *
 * @package WordPress
 * @subpackage Twenty_Seventeen
 * @since 1.0
 * @version 1.0
 */
get_header(); ?>
<style>
.btn.btnTheme.btnNew {
    display: none!important;
}
.newsletterRight.wow.bounceInLeft {
    display: none!important;
}
</style>
<?php 
$id=40; 
$post = get_post($id); 
$content = apply_filters('the_content', $post->post_content); 
echo $content;  
?>
<!-------START BANNER------->
<!--section class="banner">
	<div class="container">
		<div class="row">
			<div class="col-md-6 col-sm-6">
				<img class="img-responsive" src="<?php echo get_stylesheet_directory_uri(); ?>/images/bnner-up.png">
			</div>
			<div class="col-md-5 col-sm-5">
					<h1 class="textWhite ">WE ARE BUILDING 
					<span><b>SOFTWARE TO HELP</b></span></h1>
					<p>Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Quis ipsum suspendisse ultrices gravida. </p>
					<div class="bannerbtn">
						<button class="btn btnTheme" type="button">Get Started</button>
				</div>
			</div>
		</div>
	</div>
</section>
<!-------END BANNER------->
 
 
    <!-- services section start--->

<section class="time-line" id="services">
	<div class="container">
		<div class="row">
			<div class="col-md-12 col-sm-12 col-xs-12">	
				<?php $id=51; 
$post = get_post($id); 
$content = apply_filters('the_content', $post->post_content); 
echo $content; 
?>
			</div>
		</div>
			
			
		<div class="row">
 <div class="col-md-12">
	  <div class="main-timeline">                  
					<?php
$lastposts = get_posts( array(
   'post_type'=>'services',
    'posts_per_page' => 6,
    'orderby'       => "date",
     'order'          => "ASC"
) );			
				
	if ( $lastposts ) {
    foreach ( $lastposts as $post ) :
   //echo "<pre>"; print_r($post);die;
    $postdate = get_the_date('d-M-Y');
	$key_name = get_post_custom_values($key = 'icon');
    ?>
	          
                       <a href="#" class="timeline wow bounceInLeft">
                            <div class="timeline-icon"><i class="fa fa-<?php echo $key_name[0];?>"></i></div>
                            <div class="timeline-content">
                                <h3 class="title"><?php the_title(); ?></h3>
                                <p class="description">
                                   <?php  echo apply_filters('the_content',$post->post_content); ?>
                                </p>
                            </div>
                        </a>
						    
						   <?php
    endforeach; 
    wp_reset_postdata();
}

?>   
  </div>
  </div>            
           
        </div>
	</div>
</section>


<section class="time-line" id="aboutus">
	<div class="container">
		<div class="row">
			<div class="col-md-12 col-sm-12 col-xs-12">	
				<?php $id=246; 
$post = get_post($id); ?>

 <?php
$content = apply_filters('the_content', $post->post_content); 
echo $content; 
?>
			</div>
		</div>
			
			
			</div>
</section>




<!-------start of Our_Works SECTION------->	

 <section class="worksMain" id="ourworks" >
<div class="container-fluid">
<div class="row">
			<div class="col-md-12 col-sm-12 col-xs-12">					
<?php $id=58; 
$post = get_post($id); 
$content = apply_filters('the_content', $post->post_content); 
echo $content; 
?>
			
			</div>
		</div>
		<div class="row">
			<div class="workDetails">
				<?php
$lastposts = get_posts( array(
   'post_type'=>'ourwork',
    'posts_per_page' => 6,
    'orderby'       => "date",
     'order'          => "DESC"
) );			
				
	if ( $lastposts ) {
    foreach ( $lastposts as $post ) :
   //echo "<pre>"; print_r($post);die;
    //$postdate = get_the_date('d-M-Y');
	

    ?>
			
				<div class="col-lg-3 col-md-6 col-sm-4 col-xs-6 portfolioRES portfolioPadd">
					<div class="portfolioInner wow fadeInLeft">
						<div class="overlayouter">
						    <figure>
						<?php the_post_thumbnail('post-thumbnail', ['class' => 'img-responsive responsive--full', 'title' => 'Feature image']);?>
							
						</figure>
						<div class="overlayinn">
							<div class="overlayData2">
								<h3><?php the_title(); ?></h3>
								<p> <?php  echo apply_filters('the_content',$post->post_content); ?></p>
								<a href="<?php the_permalink(); ?>" class="btn btnTheme">View More</a>
							</div>
						</div>
					</div>	</div>
				</div>	
				   <?php
    endforeach; 
    wp_reset_postdata();
}

?>   
				
			
			</div>
		</div>
	</div>
</section>
 
   
   <!-------end Our_Works SECTION------->	
   
 <!-------end Our_Works SECTION------->	


<div class="testFooter" id="technologies">
<!-- START testimonialsMain -->
<section class="testimonialsMain wow lightSpeedIn">
	<div class="container-fluid">
		<div class="row">
			<div class="col-md-12 col-sm-12 col-xs-12">	
				<div class="headingOther">
					<h2>Technology</h2>
				</div>
			</div>
		</div>
		<div class="row">
			<div class="col-md-12">
				<div class="owl-carousel owl-theme" id="testimonials">
				
				<?php
$lastposts = get_posts( array(
   'post_type'=>'technology',
    'posts_per_page' => -1,
    'orderby'       => "date",
     'order'          => "DESC"
) );			
				
	if ( $lastposts ) {
    foreach ( $lastposts as $post ) :
	?>
				
					<div class="item">
						<div class="testimonialsDetail">
						<?php the_post_thumbnail('post-thumbnail', ['class' => '', 'title' => 'technology image']);?>
						</div>
					</div>					
					
					
			 <?php
    endforeach; 
    wp_reset_postdata();
}

?>   	
					
				</div>
			</div>
		</div>
	</div>
</section>


<!-- END testimonialsMain -->


<!-- START Testimonials2 -->
<section class="testimonial wow pulse" id="testimonials">
	<div class="container">
		<div class="row">
			<div class="col-md-12 col-sm-12 col-xs-12">	
			<?php $id=119; 
			$post = get_post($id); 
			$content = apply_filters('the_content', $post->post_content); 
			echo $content;
?>
		</div>
		</div>
		
		<div class="row">
		
		<?php
$lastposts = get_posts( array(
   'post_type'=>'testimonial',
    'posts_per_page' => 3,
    'orderby'       => "date",
     'order'          => "DESC"
) );			
				
	if ( $lastposts ) {
		$i=0;
   
	
	?>
			<div class="col-md-12 col-sm-12 col-xs-12">
			
				<div class="carousel slide" data-ride="carousel" id="quote-carousel">
					<!-- Bottom Carousel Indicators -->
					
					<ol class="carousel-indicators">
					<?php  foreach ( $lastposts as $post ) : ?>
						<li data-target="#quote-carousel" data-slide-to="<?php echo $i;?>">
						
						<?php the_post_thumbnail('post-thumbnail', ['class' => 'img-responsive', 'title' => 'img-responsive']);?>
						 <small>Someone famous</small>
						 
						</li>
						<?php
			 $i++;
    endforeach; 
    wp_reset_postdata(); ?>
					</ol>
					

					<!-- Carousel Slides / Quotes -->
					<div class="carousel-inner text-center">
					
						<!-- Quote 1 -->
						
						<?php $i=0; foreach ( $lastposts as $post ) : ?>
						<div class="item <?php if($i == 0){echo "active"; } ?>">
							<blockquote>
								<div class="row">
									<div class="col-sm-8 col-sm-offset-2">
										<div class="testUser">
											<h4><?php the_title(); ?></h4>
											 <?php  echo apply_filters('the_content',$post->post_content); ?>
									   </div>
								   </div>
								</div>
							</blockquote>
						</div>
						
						<?php
			 $i++;
    endforeach; 
    wp_reset_postdata();
}

?>   	
						
					</div>


					<!-- Carousel Buttons Next/Prev -->
					<a data-slide="prev" href="#quote-carousel" class="left carousel-control"><i class="fa fa-chevron-left"></i></a>
					<a data-slide="next" href="#quote-carousel" class="right carousel-control"><i class="fa fa-chevron-right"></i></a>
				</div>
		   
			</div>
			
			 
			
		</div>
	</div>
</section>
<!-- END Testimonials2 -->

<?php get_footer();?>
<!-- START FOOTER -->