Functions/total types

total_types will returns the total number of item types in the Omeka archive.

Usage

  • Deprecated. Will not work in current version of Omeka*
<?php echo total_types(); ?>

Examples

If you had 10 item types in your archive, you could use this code in your theme's index.php file:

<p>My Omeka Site has <?php echo total_types(); ?> types.</p>

To generate this:

<p>My Omeka Site has 10 types.</p>