Last active
December 12, 2017 14:44
-
-
Save thierrypigot/fb1462fc53085a32600fdf9f9e86e4eb to your computer and use it in GitHub Desktop.
This file contains 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 | |
$introduction_text = get_field('introduction_text'); | |
$introduction_background_image = get_field('introduction_background_image'); | |
?> | |
<section class="scene" <?php if($introduction_background_image): ?> style="background-image:url(<?php echo esc_attr( $introduction_background_image ); ?>);" <?php endif; ?> > | |
<div class="container text"> | |
<div class="col-md-6 col-md-offset-3"> | |
<p><?php echo $introduction_text; ?></p> | |
</div> | |
</div> | |
</section> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment