- b2evolution CMS User Manual
- Developer Reference
- Website Skins/Themes
- Skin Tags / API
- Item Tags
- Template Tag: Item Tags
Template Tag: Item Tags
Display tags associated with a Post/Item.
These tags can be edited in the edit post form using the Tags input field found in the Advanced Properties panel.
Example
Quick Template
[Item:tags|before=<div>Tags: |after=</div>|separator=, |links=true]
PHP Template
$Item->tags( array(
'before' => '<div>Tags: ',
'after' => '</div>',
'separator' => ', ',
'links' => true
) );
Parameters
Param |
Default |
Usage |
---|---|---|
|
|
Displayed before the tags. |
|
|
Displayed after tags. |
|
|
Separator between tags. |
|
|
|
|
|
Displayed before each tag. |
|
|
Displayed after each tag. |
Return value
This tag displays content only, it does not have a return value.