Sharepoint Breadcrumb: Display’s current site title

To display only the current site title in Sharepoint breadcrumb add the property ParentLevelsDisplayed=”0″ in the <asp:SiteMapPath… tag

The below Asp:SiteMapPath tag display only the current site title
Example:
<asp:SiteMapPath ID=”siteMapPath_section” Runat=”server” SiteMapProvider=”CurrentNavSiteMapProviderNoEncode” RenderCurrentNodeAsLink=”false” SkipLinkText=”” CurrentNodeStyle-CssClass=”breadcrumbCurrent” NodeStyle-CssClass=”ms-sitemapdirectional” ParentLevelsDisplayed=”0″>
<CurrentNodeStyle CssClass=”breadcrumbCurrent” />
<NodeStyle CssClass=”ms-sitemapdirectional” />
</asp:SiteMapPath>

The below Asp:SiteMapPath tag display only the current site title parent and current site title (parent > current)

<asp:SiteMapPath ID=”siteMapPath” Runat=”server” SiteMapProvider=”CurrentNavSiteMapProviderNoEncode” RenderCurrentNodeAsLink=”false” SkipLinkText=”” CurrentNodeStyle-CssClass=”breadcrumbCurrent” NodeStyle-CssClass=”ms-sitemapdirectional”>
<CurrentNodeStyle CssClass=”breadcrumbCurrent” />
<NodeStyle CssClass=”ms-sitemapdirectional” />
</asp:SiteMapPath>

Custom Sharepoint breadcrumb

Custom Sharepoint breadcrumb