-
-
Save anthonydelgado/d7b4d1f6d41975713668a01250d0a987 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
$fields = CFS()->get( 'sections' ); | |
foreach ( $fields as $field ) { ?> | |
<div class="full-width bg-light-grey"> | |
<div class="content-container content-section"> | |
<div class="full-width-flex"> | |
<div class="vh-container" style="background: url('<?php echo $field['image']; ?>') center no-repeat; background-size: cover"> | |
</div> | |
<div class="vh-container left-padding text-left"> | |
<h2> <?php echo $field['title']; ?></h2> | |
<p> | |
<?php echo $field['description']; ?> | |
</p> | |
<br> | |
<br> | |
</div> | |
</div> | |
</div> | |
</div> | |
<?php } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment