Posted By

K2Joom on 04/09/10


index item k2 featured V22 featureditem

Versions (?)

itemFeaturedNotice - Index.php - K2 - V2.2

 / Published in: PHP

This snippet displays the Featured text along side the itemTitle of an item. You can change the "Featured" to something different, like "Hot New Item" etc. If you find that this does not change on your site, then please check the K2 language file.

  1. <?php if($this->item->params->get('itemFeaturedNotice') && $this->item->featured): ?>
  2. <!-- Featured flag -->
  3. <span>
  4. <sup>
  5. <?php echo JText::_('Featured'); ?>
  6. </sup>
  7. </span>
  8. <?php endif; ?>

Report this snippet  

You need to login to post a comment.