title: Wordpress meta value empty no display
body: <p>I am using a directory theme and I am using the following code: </p>
  
  <pre><code>&lt;?php $listing_contact = get_post_meta( get_the_ID(), 'listing_contact', true ); echo $listing_contact; ?&gt;
  &lt;?php if( empty( $listing_contact) ) : ?&gt;no contact&lt;?php endif; ?&gt;
  </code></pre>
  
  <p>However, the 'no contact' value is not displaying once the <code>$listing_contact</code> is empty. Can somebody help me out to get this working?</p>