- b2evolution CMS User Manual
- Developer Reference
- Website Skins/Themes
- Skin Tags / API
- Item Tags
- Template Tag: Item Excerpt
Template Tag: Item Excerpt
This template tag displays the excerpt an Item.
Example
Quick Template
[Item:excerpt|before=<div class="excerpt">|after=</div>|excerpt_more_text=Read more…]
PHP Template
$Item->categories( array(
'before' => '<div class="excerpt">',
'after' => '</div>',
'excerpt_before_more' => ' <span class="excerpt_more">',
'excerpt_after_more' => '</span>',
'excerpt_more_text' => 'Read more »',
'format' => 'htmlbody',
) );
Parameters
Param |
Default |
Usage |
---|---|---|
|
|
Displayed before the excerpt. |
|
|
Displayed after the excerpt. |
|
|
Displayed before the more link. |
|
|
Displayed after the more link. |
|
|
String to display for the more link.
|
|
|
Format to output. Possible values: |
Return value
This tag displays content only, it does not have a return value.