YOOtheme Pro is here! The best WordPress and Joomla theme. Learn more

Avatar andres.gutierrez.8 asked

Item id in zoo

Hi, i need my items display its id number in the teaser page and in the full item page too. How could i get that?

  • Joomla
  • ZOO
  • General Question


1 Answer


Avatar ray.lawlor answered

Hi Andres,

This will require adding some code to those layouts. To get the item id in the teaser or full layouts add this code somewhere in your teaser.php or full.php files in the app you're using:

<?php echo $this->_item->id; ?>

Lead Developer, ZooModsPlus - http://www.zoomodsplus.com/

Know someone who can answer? Share a link to this question via email or twitter.