- b2evolution CMS User Manual
- Developer Reference
- Website Skins/Themes
- Skin Tags / API
- Item Tags
- Template Tag: Item Type
Template Tag: Item Type
Display Item Type of Item.
Type can be one of the following values: Post, Page, Intro-Main, Intro-Cat, Intro-Tag, Intro-Sub, Intro-All, Podcast, Sidebar link.
== Example ==
$Item->type( $before = '', $after = '', $format = 'htmlbody' );
== Parameters ==
* Name: before
* Default: (no space)
* Usage: String to display before type.
* Name: after
* Default: (no space)
* Usage: String to display after type.
* Name: format
* Default: ‘htmlbody’
* Usage: Format to output.
== Return value ==
This function return false for unknown type instead it displays content.