/ Published in: PHP
Only show content if Custom Field exists
Expand |
Embed | Plain Text
Copy this code and paste it in your HTML
<p class="direct_dial"><strong>DD</strong> <?php echo get_post_meta($post->ID, "direct dial", true);?></p> <?php endif; ?>