1. Current column content list
{pboot:list}
<a href= "[list:link]">[list:title]</a>
{/pboot:list}It can only be used on list pages with paging. The same page can only be used once. Otherwise: the old version will have paging conflicts, and the new version will display the same content.
The order sorting has been adjusted since version V1.2.2. By default, top, recommended, and headlines have priority display, including when using date, sorting, visits, likes, and opportunities. If you want to use a custom mode according to your own settings, you can combine it in any way: for example, order='datedesc,id desc' means that the order will be in reverse order by time, and then added in reverse order. For example, order='sorting desc,id desc' will sort by background first, and then in reverse order by id. For more situations, just refer to the example definition.
Control parameters:
num=* Number of pages per page, optional, used to control paging size
order=* Sorting method, optional, used to sort the output content, optional: date, sorting, istop, isrecommend, isheadline, visits, likes, opportunities, and other fields, where sorting is the sorting filled in by the background. Version 122 starts to support custom modes, such as: order='datedesc,id desc', order='sorting desc,id desc', (V1.3.7+) also supports random random sorting
filter = * |
isico=、ispics=、istop=、isrecommend=, isheadline=* is used to perform special filtering of data. Optional values 1 and 0 are optional. For example, only recommended content is retrieved: isrecommend=1
tags=x,y tags mode data filtering, optional, used to filter the list content, such as: tags='ASP,PHP', it is content containing asp or php tags, then you can use tags={content:tags} to call related articles of the current article
start=* starting data (V1.3.2+), optional, used for which item to start from
2. Specify column content list
{pboot:list scode=*}
<a href= "[list:link]">[list:title]</a>
{/pboot:list}It can be used for the entire site. Multiple column codes are separated by commas. If an asterisk is used, it means all columns. The specified column content list is not paginated by default. Of course, you can still control forced paging through the page parameter, but be careful not to use multiple paginated lists on the same page.
If you want to use this loop tag to call the current content list, you can use scode={sort:scode}, which also avoids paging conflicts when the current column content is called multiple times on the same page.
Control parameters:
scode=* Column code, required, used to specify the column code to be retrieved. The read content will also include the content of the submenu under the column. Multiple columns are supported such as: 1, 2, 3
page=* Whether to paginate, optional, used to determine whether to perform paging in the list. It can be set to 1 or 0. This function is suitable for scenarios such as homepage paging.
start=* starting data (V1.3.2+), optional, used for which item to start from
The remaining control parameters are the same as the current column content list above
3. Available list tags
[list:n] starts with count 0
[list:i] starts with count 1
[list:id] number
[list:scode] Classification code
[list:subscode] Subcategory code
[list:sortname] category name
[list:subsortname] Subsort name
[list:sortlink] Category link
[list:subsortlink] subcategory link
[list:title] title
[list:titlecolor] title color
[list:subtitle] Subtitle
[list:tags] directly output tags
[list:author] Author
[list:source] source
[list:link] link
[list:outlink] external link
[list:date] Release date
[list:ico] Thumbnail, automatically calls the first picture of the article if it does not exist, [list:isico] can be used for judgment, and returns 1 or 0
[list:pics] Multiple pictures, V2.0.2 new [list:ispics] can be used for judgment, returning 1 or 0
[list:content] content
[list:enclosure] attachment
[list:enclosuresize] attachment size
[list:keywords] keywords
[list:description] description
[list:istop] Whether to stick to the top
[list:isrecommend] Is it recommended?
[list:isheadline] Is the headline
[list:visits] Number of visits
[list:likes] Number of likes
[list:oppose] Number of objections
[list:likeslink] Likes link
[list:opposelink] Oppose link
[list:ext_*] Retrieve extended field content