php if class_exists breadcrumb_navigatio n_xt Display prefix next line

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
<?php
if (class_exists('breadcrumb_navigation_xt')) {
// Display a prefix
/* ***** next line screened by me
echo 'Navigation: '; */
// new breadcrumb object
$mybreadcrumb = new breadcrumb_navigation_xt;
// Options for breadcrumb_navigation_xt
$mybreadcrumb->opt['title_blog'] = 'главная';
$mybreadcrumb->opt['separator'] = '&nbsp;&raquo; ';
$mybreadcrumb->opt['current_item_style_prefix'] = '<span class="current">';
$mybreadcrumb->opt['current_item_style_suffix'] = '</span>';
$mybreadcrumb->opt['urltitle_prefix'] = 'перейти в &laquo;';
$mybreadcrumb->opt['urltitle_suffix'] = '&raquo;';
$mybreadcrumb->opt['singleblogpost_category_display'] = true;
$mybreadcrumb->opt['singleblogpost_prefix'] = '';
$mybreadcrumb->opt['archive_date_prefix'] = 'архив: ';
$mybreadcrumb->opt['archive_category_prefix'] = '';
$mybreadcrumb->opt['archive_category_suffix'] = '';
// Display the breadcrumb
$mybreadcrumb->display();
}
?>