✔ Homilies - If no message/left blank hide the Message section
Completed by Kyle S.
- Assigned to
-
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.
<?php if(get_field('message')) : ?> <hr /> <h6 class="homilyMessage">Message:</h6> <p class="theMessage"><?= get_field('message'); ?></p> <?php endif; ?>