Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
<?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
You can’t perform that action at this time.