-
Notifications
You must be signed in to change notification settings - Fork 33
Metadata
Archetyped edited this page Jul 22, 2021
·
4 revisions
SLB can display virtually all of an item's metadata using template tags. Available metadata will vary by item type (image, video, etc.) and source, though all items should have these common attributes:
- Title
- Source URI
- Permalink
Since an item's title value can come from various places, SLB has a built-in title precedence that uses the highest-priority value available.
For example, here is the title precedence for image links (ordered from highest to lowest priority):
- Manually-set link
title
attribute - Manually-set caption (i.e. text accompanying thumbnail in post)
- Caption field from WordPress' media library
- Title field from WordPress' media library
- Enclosed image's
alt
attribute - Link text
- Titles are required by WordPress for media added to the library. If a custom title is not set, WordPress generates a default title using the name of the uploaded file (basically the file name without the extension).