function section_template() { 
		?>
			<div class="breadcrumb subtext">
<?php
				if(function_exists('bcn_display')){
					if(pagelines_option('breadcrumb_no_link')){
						//Make new breadcrumb object
						$breadcrumb_trail = new bcn_breadcrumb_trail;
						//Setup options here if needed
						//Fill the breadcrumb trail
						$breadcrumb_trail->fill();
						//Display the trail, but don't link the breadcrumbs
						bcn_display(false,false);
					}else{
						bcn_display();
					}
				}else{
					echo '<p style=text-align:center;>';
					_e('Please activate the <strong>Breadcrumb-NavXT</strong> plug-in to use the section.', 'pagelines');
					echo '</p>';
				}
					
				
				?>
			</div>
<?php
	}
Example #2
0
      <img src="<?php 
bloginfo('template_directory');
?>
/images/headerimage.jpg" alt="SITE_NAME 6" border="0" />      <!-- begin main content area -->

      <div id="contentarea">
				<div class="printfriendly">
		<a href="?print=1"><img src="<?php 
bloginfo('template_directory');
?>
/images/print.gif" width="34" height="32" border="0" alt="Printer-friendly version" /></a>
		</div>	
        <div id="breadcrumb"><?php 
if (class_exists('bcn_breadcrumb_trail')) {
    //Make new breadcrumb object
    $breadcrumb_trail = new bcn_breadcrumb_trail();
    //Setup our options
    //Set the home_title to Blog
    $breadcrumb_trail->opt['home_title'] = "Home";
    $breadcrumb_trail->opt['separator'] = "&nbsp;&nbsp;&raquo;&nbsp;&nbsp;";
    //Set the current item to be surrounded by a span element, start with the prefix
    $breadcrumb_trail->opt['current_item_prefix'] = '';
    //Set the suffix to close the span tag
    $breadcrumb_trail->opt['current_item_suffix'] = '';
    //Fill the breadcrumb trail
    $breadcrumb_trail->fill();
    //Display the trail
    $breadcrumb_trail->display();
}
?>
</div>