<?php $location = \Components\Footer\Footer::getLocationInfo(); if (!empty($location)) { ?> <div class="item"> <i class="top aligned home icon"></i> <div class="content"> <?php echo $location['address'] ? $location['address'] . "<br/>" : ""; ?> <?php echo $location['postal_code'] ? $location['postal_code'] . " " : ""; ?> <?php echo $location['city'] ? $location['city'] . "<br/>" : ""; ?> <?php echo $location['country'] ? $location['country'] . "<br/>" : ""; ?> </div> </div> <?php }