- b2evolution CMS User Manual
- Developer Reference
- Website Skins/Themes
- Skin Tags / API
- Item Tags
- Template Tag: Item Permanent URL
Template Tag: Item Permanent URL
This tag displays the permanent/canonical URL of a Post/Item.
This actually only outputs the URL, to display a real link, use $Item->permanent_link();
Example
Quick Template
[Item:permanent_url|target_blog=|post_navigation=|nav_target=NULL]
PHP Template
$Item->get_item_url( $target_blog = '', $post_navigation = '', $nav_target = NULL, $ignore_types = array() );
Parameters
Param |
Default |
Usage |
---|---|---|
|
|
|
|
|
|
|
|
|
|
|
This cannot be set in quick templates. |
Return value
This tag displays content only, it does not have a return value.