Holy Family & CCTN - Orlando, FL

Homilies - If no message/left blank hide the Message section

Assigned to
Kyle Sullivan, Web Development at Diocesan Kyle S.
Notes
If the message field is left blank in the backend, which 95% of them are, then the Message should disappear and the quotes should disappear. I prefer Visibility: hidden instead of display:none in this case since it keeps the spacing the same for every homily, message or not.

Comments & Events

Kyle Sullivan, Web Development at Diocesan
I added the following to template-parts/homilies/content.php.
<?php if(get_field('message')) : ?>
  <hr />
  <h6 class="homilyMessage">Message:</h6>
  <p class="theMessage"><?= get_field('message'); ?></p>
<?php endif; ?>
Kyle Sullivan, Web Development at Diocesan
Kyle Sullivan completed this to-do.