I would like the page title to be displayed as a part of the breadcrumb, at the end of the preceding path.
I've got the following code.
<div id="breadcrumbs"><span class="bread_crumbs"><?php print $breadcrumb; ?><?php print $title; ?></span></div>
I have checked the following option in appearance/settings: Append a separator to the end of the breadcrumb.
If the page is a top level page, the breadcrumb displays correctly; however, for any further level pages, the title doesn't display, but just the previous path.
How do I change this to get it to work?
This is what I would like to do: Adding the page title next to the breadcrumb.
I've now got the following code.
<div id="breadcrumbs"><span class="bread_crumbs"><?php print $breadcrumb . $title; ?></span></div>
The page title only displays for top level pages. If a page has parents, then the title doesn't get displayed. I've cleared the cache, but still no luck.