item_citation()
returns a Chicago-style citation for a specific item, following the format for web pages.
Usage
<?php echo item_citation(); ?>
Arguments
item_citation()
takes no arguments.
Filters
As of Omeka version 1.4, plugins can filter the output of this function with the item_citation filter.
Examples
Use item_citation()
on the items/show.php template page of your theme:
<p id="item-citation"><?php echo item_citation(); ?></p>
The HTML output for item_citation()
is:
<p id="item-citation">Jane Doe, "Some Item Title," in Your Site Title, Item 22 (accessed August 1, 2009).</p>