Skip to content

Latest commit

 

History

History
19 lines (13 loc) · 1.34 KB

README.md

File metadata and controls

19 lines (13 loc) · 1.34 KB

This plugin was developed by Special Collections at the National Agricultural Libary to add functionality and design customizations to Omeka.

The shortcodes generally have the same options as the regular shortcodes, unless otherwise noted: http://omeka.org/codex/Shortcodes#Recent_Items

Images of output are available in the samples folder.

#Available Shortcodes ##Items

  • [nal_recent_items]: Display a list of recent items without using the default items/single.php
  • [nal_collection_items]: Includes the parent collection in item list entries.
  • [nal_featured_item]: Custom layout for featured item, "View all n featured items." at the bottom of the div

##Exhibits

  • [nal_exhibits]: Returns a longer description with some regular expression replacements.

  • [exhibit_search]: Creates a search box to search exhibit pages. Currently requires a custom search/index.php in your theme folder to function correctly. An inelegant example is available.

##Other

  • [build_url]: Enables the php url() function to be used where shortcodes are accepted. Syntax is [build_url string='YOUR/STRING/HERE']