Esempio n. 1
0
				<section class="core-points">
					<div class="content">

						<div class="core-point flex large-content-block viewport-height-block contents-center">
							<div class="core-point-text contents-center">
								<h2><?php 
getthefield('core_point_1_title');
?>
</h2>
								<p class="subhead"><?php 
getthefield('core_point_1_subhead');
?>
</p>
								<?php 
getthefield('core_point_1_paras');
?>
							</div>
							<div class="core-point-img">
								<?php 
if (!empty(get_post_meta(get_the_ID(), 'core_point_1_img', 1))) {
    ?>
									<img src="<?php 
    echo get_post_meta(get_the_ID(), 'core_point_1_img', 1);
    ?>
" >
								<?php 
} else {
    ?>
									<img src="<?php 
    echo get_template_directory_uri();
Esempio n. 2
0
				<section class="testimonials background-gray flex padding-60">
					<div class="content contents-center">
						<div class="text-center">
							<h2><?php 
getthefield('testimonials_title');
?>
</h2>
							<p class="subhead"><?php 
getthefield('testimonials_subhead');
?>
</p>
						</div>
						<div class="testimonial-grid flex">

							<div class="testimonial">
								<img src="<?php 
get_custom('testimonial_1_img');
?>
" >
								<blockquote class="testimonial-content">
									<cite><?php 
get_custom('testimonial_1_name');
?>
, <br><?php 
get_custom('testimonial_1_position');
?>
</cite>
									<p><?php 
get_custom('testimonial_1_testimonial');
?>