Skip to content

AdrienneSerra/plugin_NALShortcodes

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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']

About

Custom Omeka shortcodes for NAL content requirements.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • PHP 100.0%