Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?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>
Add Comment
Please, Sign In to add comment