SHARE
TWEET

Untitled

srikat Mar 23rd, 2013 68 Never
  1. <?php
  2.         $start_time = get_field('start_time');
  3.  
  4.         $end_time = get_field('end_time');
  5.  
  6.         if ( !empty($start_time) ) { echo '<div class="entry-meta start-time"><span>' . $start_time . '&nbsp;</span></div>' ;}
  7.  
  8.         if ( !empty($end_time) ) { echo '<div class="entry-meta end-time"><span>-&nbsp;' . $end_time . '</span></div>' ;}
  9. ?>
RAW Paste Data
Top