first commit
This commit is contained in:
@@ -0,0 +1,32 @@
|
||||
<section class="two-cols <?php the_sub_field('additional_section_class'); ?>">
|
||||
<div class="wrapper wrapper--inner <?php the_sub_field('additional_wrapper_class'); ?> <?php the_sub_field('additional_class'); ?>">
|
||||
<div class="col col-text">
|
||||
<?php if( get_sub_field('choose_heading') == 'h1' ): ?>
|
||||
<h1 class="section-heading heading heading--md <?php the_sub_field('heading_position'); ?>">
|
||||
<?php the_sub_field('section_heading'); ?>
|
||||
</h1>
|
||||
<?php else: ?>
|
||||
<h2 class="section-heading heading heading--md <?php the_sub_field('heading_position'); ?>">
|
||||
<?php the_sub_field('section_heading'); ?>
|
||||
</h2>
|
||||
<?php endif; ?>
|
||||
<div class="col-text-content">
|
||||
<!-- <p class="p-text text-regular"> -->
|
||||
<?php the_sub_field('text'); ?>
|
||||
<!-- </p> -->
|
||||
<?php if (get_sub_field('cta')) : ?>
|
||||
<div class="cta">
|
||||
<a href="<?php the_sub_field('cta')?>" class="btn btn-primary">
|
||||
<?php the_sub_field('cta_text'); ?>
|
||||
</a>
|
||||
</div>
|
||||
<?php endif; ?>
|
||||
</div>
|
||||
</div>
|
||||
<div class="col col-image">
|
||||
<div class="image-wrapper">
|
||||
<img src="<?php the_sub_field('image')?>" alt="" class="img-auto section-image">
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</section>
|
||||
Reference in New Issue
Block a user