Functions/total items

total_items returns the total number of items in your archive. Only items that are visible to the current user will be included in the total, so vistiors will only see the number of public items.

Usage

<?php echo total_items(); ?>

Examples

If you had 1200 public items in your archive, you could use this code in your theme's index.php file:

<p>My Omeka Site has <?php echo total_items(); ?> items.</p>

To generate this:

<p>My Omeka Site has 1200 items.</p>