Powered by MediaWiki

Tag item tags

From b2evolution manual

Jump to: navigation, search

Display tags associated with item.

These tags can be edited using edit post form in 'Tags' field.

[edit] Example

<source lang="php"> $Item->tags( array(

'before' => '
Tags: ', 'after' => '
',
    'separator' => ', ',
    'links'     => true
 ) );

</source>

[edit] Parameters

Name Default Usage
before '<div>Tags: ' Displayed before tags.
after '</div>' Displayed after tags.
separator ', ' Separator between tags.
links true True if show tag links instead false.

[edit] Return value

This tag displays content only, it does not have a return value. Typical output would be 'Tags: tag1, tag2, tag3'