- b2evolution CMS User Manual
- Developer Reference
- Website Skins/Themes
- Skin Tags / API
- Item Tags
- Template Tag: Item Title
Template Tag: Item Title
Display the Item’s title and link to related URL.
Examples
Quick Template
[Item:title|before=<h1>|after=</h1>|linktype=permalink]
PHP Template
$Item->title( array(
'before' => '',
'after' => '',
'before_title' => '',
'after_title' => '',
'format' => 'htmlbody',
'link_type' => '#',
'custom_url' => '',
'link_class' => '#',
'link_target' => '',
'max_length' => '',
'target_blog' => '',
'nav_target' => NULL,
'post_navigation' => $def_post_navigation,
'title_field' => 'title',
'title_override' => $this->get( 'title' ),
) );
Parameters
Param |
Default |
Usage |
---|---|---|
|
|
Displayed before title. |
|
|
Displayed after title. |
|
|
Displayed after title. |
|
|
Possible values: |
|
|
Format to output. The following are available formats: |
|
|
Will be displayed if |
Return value
This tag displays content only, it does not have a return value.