Link Lists API
Display mode: links
Parameters
find
Specifies the link list slug or ID to return links for.
Example:
"find:slugged-list-name",
parent
Specifies the parent link slug or ID to use as the hierarchical root to start from.
Example:
"parent:slugged-link-name",
Show
before_show, after_show
Tag | Description |
---|---|
__title__ | The title of the link list. |
__slug__ | The title slug of the link list. |
__id__ | The Id number of the link list. |
__count__ | The number of links returned in this call |
show / level#
Tag | Description |
---|---|
__description__ | Textual description of the link as entered in the backend. |
__id__ | Internal system ID of the link for unique identification. |
__ifnewwindow__ | Returns a space (" ") if the link is set to open in a new window, and nothing if not. This should be included on its own line followed by the markup to output if the link is set to open in a new window. For example, show:__ifnewwindow__target="_blank" will only be output for links set to open in a new window. |
__imageurl__ | URL of the image associated with the link for use in an image tag. |
__level__ | Hierarchical level of the link. The root level is considered level 1. |
__listid__ | Internal system ID of the link list for unique identification. |
__name__ | Name of the link as entered in the backend |
__parentid__ | Internal system ID of the link's parent. This is set to '0' if the link has no parent. |
__position__ | Numeric position of the link in relation to its hierarchical level. |
__slug__ | Slugged version of the link name. |
__url__ | URL of the link as entered in the backend. For use in an anchor tag. |
__embed__ | Outputs the embed code if you are using embed codes for media items. |
__embedurl__ | Outputs the source URL of the embed code. |
__count__ | The number of links returned in this call |
Any Custom Fields setup for Link Lists will output their API tags |