/ Published in: PHP
![](/img/icon_sav.png?v3)
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; ?>
Comments
![RSS Feed for Comments RSS Icon](/images/rss.png?v3)