开发者 | graemehoffman |
---|---|
更新时间 | 2020年2月18日 23:00 |
PHP版本: | 7.0 及以上 |
WordPress版本: | 5.2.1 |
版权: | GPLv2 or later |
版权网址: | 版权信息 |
Use text fields for information you wish to assign to each archive item. Example: serial number, catalog number, internal title, secondary description etc.
Use a date field if you would like your audience to be able to filter by a date range, by year, decade, or by century. Ex: if you want to sort a collection of a thousand photos from the 20th century into decades.
Use a select field to assign a piece of information that comes from a very small list of pre-set choices to each of your archive item. Examples: Art Format, with the choices being Painting, Sculpture, or Digital.
For categories with many choices (20+) and which you would like to be able to elaborate on and attach auxiliary information, use the Advanced Detail Field. A good example would be if you wished to sort your materials by their creator (photographer, author, etc.) – for each creator, this type of field allows you to create an “entry” for that creator. Other examples: donor, institution. Internally, this field manages what is typically called a custom post type in wordpress vernacular.
Use a taxonomy field for categories you want to sort your materials by (ex: by location, such as by county, by neighborhood, or by room in a museum). You will have to create the choices in this category (ex: by county; Clinton, Essex, Warren, and Jefferson). Taxonomy fields are best suited to a category with fewer than twenty choices, which do not need further explanation to a viewer.
If you check this box in the general settings, a small window appears when you click on the archive item thumbnail in the search return grid. This window provides an initial summary of the archive item details.
This will appear at the bottom of each Archive Item single page. This field is intended to provide some basic information of the copyright and permissions regarding the media in your archive.
There are several filters for outputting the content. They are diviner_render_document_download, diviner_render_video_oembed, diviner_render_photo, diviner_render_audio, and diviner_render_audio_oembed
All field data is kept in the post meta table. Archive Single data is a custom post type.