Posted By

K2Joom on 04/09/10


Tagged

index title item k2 V22


Versions (?)

itemTitle - Index.php - K2 - V2.2


 / Published in: PHP
 

Use this to create the items title, within an item page. Style by changing the H2 class.

  1. <?php if($this->item->params->get('itemTitle')): ?>
  2. <!-- Item title -->
  3. <h2 class="itemTitle">
  4. <?php echo $this->item->title; ?>
  5. </h2>
  6. <?php endif; ?>

Report this snippet  

You need to login to post a comment.