Without any parameters, it will return five items. The recent items shortcode returns a list of items most recently added to the database. For more guidance on the options and parameters, see the table below. The following short codes are built in to Omeka versions 2.2 and higher. To return this file, the shortcode would be. The integer following the # sign is the ID in this instance it would be 752. Clicking on one will bring you to the file page for example At the top of the page is a header containing the file ID # and file title for example File #752: "The File Title". At the top of the Item page is a thumbnail display of the files associated with that item. To find a file ID, navigate to the admin page for the item it is attached to. You can hover over each item title in turn to view its URL at the bottom of your browser, or click on the link, and look at the number that appears at the end of the URL for example. To find an item ID, go to the Items page. You may wish to edit the file title with this in mind. If the shortcode results in an image being displayed (from an item or file), the shortcode will display the filename or the file's Dublin Core title field as the alt text, and as the title (which appears when a user hovers the mouse over the image). When using a shortcode in an Exhibit Builder block, place the code directly into the text editor: Put the shortcode in the basic text field: When using shortcodes on a Simple Page, do not use the HTML editor. Shortcodes will not work with smart/curly quotes (“ and ”). Values can be wrapped in single or double quotes, making the following variations valid as well: or.
Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. The general syntax in a text field would look like this: Lorem ipsum dolor sit amet, consectetur adipiscing elit. You cannot put a shortcode into the "Footer Text" field or the "Homepage Text" field in your theme. Shortcodes can be added into text fields on pages. For help with developing shortcode functionality through plugins, see Working with Shortcodes on Omeka’s Developer Documentation site. This page is a user’s guide to shortcodes. Using Omeka with Other Tools and Platforms.