File "front-page.php"

Full Path: /home/vantageo/public_html/cache/.wp-cli/wp-content/themes/vantageone/front-page.php
File size: 4.27 KB
MIME-type: text/x-php
Charset: utf-8

<?php
/**
 * The template for displaying all pages
 *
 * This is the template that displays all pages by default.
 * Please note that this is the WordPress construct of pages
 * and that other 'pages' on your WordPress site may use a
 * different template.
 *
 * @link https://developer.wordpress.org/themes/basics/template-hierarchy/
 *
 * @package vantageone
 */

get_header();
?>

	<main id="primary" class="site-main">

		<div class="revsliderholder">
			  <?php echo do_shortcode('[rev_slider alias="vantage home"]'); ?>
		</div>



		<div class="row m-auto pb-4 container" data-aos="fade-left">

			<div class="redheading pt-4 mt-4 col-12 col-sm-12 col-md-12 col-lg-12" data-aos="fade-right">
				Our Services	
			</div>	

			<div class="aboutimage round20 col-12 col-sm-12 col-md-4 col-lg-4 float-left">
				<a href="<?php echo esc_url( get_page_link( 334 ) ); ?>">
					<div class="servicelinktext"><?php echo get_the_title(334); ?></div>
					<img src="<?php echo the_field('custom_image', 334); ?>">
				</a>
			</div>				

			<div class="aboutimage round20 col-12 col-sm-12 col-md-4 col-lg-4 float-left">
				<a href="<?php echo esc_url( get_page_link( 337 ) ); ?>">
					<div class="servicelinktext"><?php echo get_the_title(337); ?></div>
					<img src="<?php echo the_field('custom_image', 337); ?>">
				</a>
			</div>		

			<div class="aboutimage round20 col-12 col-sm-12 col-md-4 col-lg-4 float-left">
				<a href="<?php echo esc_url( get_page_link( 337 ) ); ?>">
					<div class="servicelinktext"><?php echo get_the_title(340); ?></div>
					<img src="<?php echo the_field('custom_image', 340); ?>">
				</a>
			</div>								
		
		</div>	





<!-- who we are -->

		<div class="row m-auto pb-4 pt-4 container" style="display:none;">

			<div class="disruptors col-12 col-sm-12 col-md-12 col-lg-6">

				<h4 data-aos="fade-right">
					<?php #echo get_the_title(321); ?>		
				</h4>	

				<div data-aos="fade-right">
					<?php #echo get_post_field('post_content', 321); ?>
				</div>

			</div>

			<div class="aboutimage round20 pt-4 mt-4 col-12 col-sm-12 col-md-12 col-lg-6 float-right" data-aos="fade-down">
				<img src="<?php #echo the_field('custom_image', 321); ?>">
			</div>				
		
		</div>	











		<div class="row m-auto pb-4 container disruptors" data-aos="zoom-in-down" data-aos-duration="1000">

			<h4 class="col-12 col-sm-12 col-md-12 col-lg-12">Featured Items</h4>			

			<?php #echo get_post_field('post_content', 321); ?>
		
		</div>	

		<div class="revsliderfeatured container">
			<?php echo do_shortcode("[woof_products per_page=8 columns=4 is_ajax=1 taxonomies=product_cat:38]"); ?>
			  <!-- <?php echo do_shortcode("[wcps id='323']"); ?> -->
		</div>




		<div class="row m-auto pb-4 container disruptors" data-aos="zoom-in-down" data-aos-duration="1000">

			<h4 class="pt-4 pb-4 mt-4 mb-4 text-center col-12 col-sm-12 col-md-12 col-lg-12">Why should you choose us?</h4>			

			<div class="aboutimage text-center col-12 col-sm-12 col-md-3 col-lg-3 float-left">
					<img class="row m-auto" src="<?php echo the_field('custom_image', 343); ?>">

					<h6><?php echo get_the_title(343); ?></h6>

					<div class="whychooseusbox">
						<?php echo get_post_field('post_content', 343); ?>	
					</div>
			</div>				

			<div class="aboutimage text-center col-12 col-sm-12 col-md-3 col-lg-3 float-left">
					<img class="row m-auto" src="<?php echo the_field('custom_image', 350); ?>">
					
					<h6><?php echo get_the_title(350); ?></h6>	

					<div class="whychooseusbox">
						<?php echo get_post_field('post_content', 350); ?>	
					</div>
			</div>				


			<div class="aboutimage text-center col-12 col-sm-12 col-md-3 col-lg-3 float-left">
					<img class="row m-auto" src="<?php echo the_field('custom_image', 353); ?>">
					
					<h6><?php echo get_the_title(353); ?></h6>

					<div class="whychooseusbox">
						<?php echo get_post_field('post_content', 353); ?>	
					</div>
			</div>				


			<div class="aboutimage text-center col-12 col-sm-12 col-md-3 col-lg-3 float-left">
					<img class="row m-auto" src="<?php echo the_field('custom_image', 356); ?>">
					
					<h6><?php echo get_the_title(356); ?></h6>

					<div class="whychooseusbox">
						<?php echo get_post_field('post_content', 356); ?>	
					</div>
			</div>				

		
		</div>	



		

	</main><!-- #main -->

<?php
get_sidebar();
get_footer();