Posted By

thomasjwilliam on 07/26/12


Tagged

php node


Versions (?)

Render content field (render value with markup)


 / Published in: PHP
 

  1. <?php print render($content['fieldname']); ?>
  2.  
  3. <?php print render($content['comments']); ?>
  4.  
  5.  
  6. <?php if (!empty($content['fieldname'])): ?>
  7. <?php print render($content['fieldname']); ?>
  8. <?php endif; ?>

Report this snippet  

You need to login to post a comment.