if (technologyFeaturedContent($post->ID)) { ?> <div class="row"> <div class="col-sm-6"> <?php echo technologyFeaturedImage($post->ID); ?> </div> <div class="col-sm-6"> <h3>TRUE TEMPER #TTSCHOOL</h3> <h3><?php echo technologyFeaturedHeader($post->ID); ?> </h3> <p><?php echo technologyFeaturedText($post->ID); ?> </p> <div class="share"> SHARE <div class="social-icons"> <a href="https://www.facebook.com/sharer/sharer.php?u=<?php echo get_permalink($post->ID); ?> " target="_blank"> <i class="fa fa-facebook"></i> </a> <a href="https://twitter.com/home?status=<?php echo get_permalink($post->ID); ?> " target="_blank">
function technologyFeaturedContent($post_id) { return !empty(technologyFeaturedHeader($post_id) && !empty(technologyFeaturedText($post_id))); }