I have a meta box setup that allows the article creator to post a link to the forum topic of the same article subject. I display this meta data with the following:
<div class="discuss">
<a href="<?php echo get_post_meta( $post->ID, 'true_title', true ); ?>">Discuss...</a>
</div>
Is there an if
statement I could use so that if there is meta data to display, then it shows the button, but if not, it simply removes the button?