SeoSiteTreeExtension::SeoBreadcrumbs
Return a breadcrumb trail to this page. Excludes "hidden" pages (with ShowInMenus=0). Adds extra microdata compared to
Signature
public function SeoBreadcrumbs([string
$separator = '»',
[boolean
$addhome = true,
[integer
$maxDepth = 20,
[boolean
$unlinked = false,
[boolean
$stopAtPageType = false,
[boolean
$showHidden = false]]]]]] )
Parameters
$separator
—
string
$addhome
—
boolean
$maxDepth
—
integer
- The maximum depth to traverse.
$unlinked
—
boolean
- Do not make page names links
$stopAtPageType
—
boolean
- ClassName of a page to stop the upwards traversal.
$showHidden
—
boolean
- Include pages marked with the attribute ShowInMenus = 0
Returns
- string
- The breadcrumb trail.