From the list: Build ✔ Cemetery CPT - Fax Number field is not pulling in or hiding when blank (should be conditional and hide if nothing is there) Cody A. added this on Aug 06, 2021 Completed Aug 09, 2021 by Kyle S. Assigned to Kyle S. Comments & Events Kyle Sullivan, Web Development Per my interpretation of the proofs, I had the Cemetery Singles pull in the Fax Number for the Cemetery and the overall Fax Number if that wasn't there.Here's the old code, in case it needs to be reverted or anything.<?php if(get_field('fax') || get_field('fax', 'options')) : ?> <h6 class="contact-sublabel">Fax</h6> <span class="contact-detail"><?= get_field('fax') ? get_field('fax') : get_field('fax', 'options'); ?></span> <?php endif; ?> Aug 09, 2021 at 3:16 PM Notified 1 person Kyle Sullivan completed this to-do. Aug 09, 2021 at 3:19 PM
Kyle Sullivan, Web Development Per my interpretation of the proofs, I had the Cemetery Singles pull in the Fax Number for the Cemetery and the overall Fax Number if that wasn't there.Here's the old code, in case it needs to be reverted or anything.<?php if(get_field('fax') || get_field('fax', 'options')) : ?> <h6 class="contact-sublabel">Fax</h6> <span class="contact-detail"><?= get_field('fax') ? get_field('fax') : get_field('fax', 'options'); ?></span> <?php endif; ?> Aug 09, 2021 at 3:16 PM Notified 1 person
Here's the old code, in case it needs to be reverted or anything.
<?php if(get_field('fax') || get_field('fax', 'options')) : ?> <h6 class="contact-sublabel">Fax</h6> <span class="contact-detail"><?= get_field('fax') ? get_field('fax') : get_field('fax', 'options'); ?></span> <?php endif; ?>