I’m using plugin More Fields and have this code in single.php
zdroj: <a href="<?php echo get_post_meta($post->ID, 'zdroj', true);?>"> <?php echo get_post_meta($post->ID, 'szdroj', true);?> </a>
I want to display the output only when there is something written in the “zdroj”. How can I do it?
- The topic ‘display text only when custom field is filled’ is closed to new replies.