• This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn more.

Breadcrumbs

Robby

Well-known member
#1
Hello,

Where do i find the code from breadcrumbs xenforo.
I want to have the same blue breadcrumb to my wordpress installation. Where do i find it plz?
 

Fuhrmann

Well-known member
#2
It is in the template breadcrumb.

Code:
<xen:edithint template="breadcrumb.css" />

<nav>
    <xen:if is="!{$quickNavSelected} AND {$navigation}">
        <xen:foreach loop="$navigation" value="$breadcrumb">
            <xen:if is="{$breadcrumb.node_id}">
                <xen:set var="$quickNavSelected">node-{$breadcrumb.node_id}</xen:set>
            </xen:if>
        </xen:foreach>
    </xen:if>

    <fieldset class="breadcrumb">
        <a href="{xen:link misc/quick-navigation-menu, '', 'selected={$quickNavSelected}'}" class="OverlayTrigger jumpMenuTrigger" data-cacheOverlay="true" title="{xen:phrase open_quick_navigation}"><!--{xen:phrase jump_to}...--></a>

        <div class="boardTitle"><strong>{$xenOptions.boardTitle}</strong></div>

        <span class="crumbs">
            <xen:if is="{$showHomeLink}">
                <span class="crust"{xen:if $microdata, ' itemscope="itemscope" itemtype="http://data-vocabulary.org/Breadcrumb"'}>
                    <a href="{$homeLink}" class="crumb"{xen:if $microdata, ' rel="up" itemprop="url"'}><span{xen:if $microdata, ' itemprop="title"'}>{xen:phrase home}</span></a>
                    <span class="arrow"><span></span></span>
                </span>
            <xen:elseif is="{$selectedTabId} != {$homeTabId}" />
                <span class="crust"{xen:if $microdata, ' itemscope="itemscope" itemtype="http://data-vocabulary.org/Breadcrumb"'}>
                    <a href="{$homeTab.href}" class="crumb"{xen:if $microdata, ' rel="up" itemprop="url"'}"><span{xen:if $microdata, ' itemprop="title"'}>{$homeTab.title}</span></a>
                    <span class="arrow"><span></span></span>
                </span>
            </xen:if>

            <xen:if is="{$selectedTab}">
                <span class="crust"{xen:if $microdata, ' itemscope="itemscope" itemtype="http://data-vocabulary.org/Breadcrumb"'}>
                    <a href="{$selectedTab.href}" class="crumb"{xen:if $microdata, ' rel="up" itemprop="url"'}><span{xen:if $microdata, ' itemprop="title"'}>{$selectedTab.title}</span></a>
                    <span class="arrow"><span>&gt;</span></span>
                </span>
            </xen:if>

            <xen:if is="{$navigation}">
                <xen:foreach loop="$navigation" value="$breadcrumb" i="$i" count="$count">
                    <span class="crust"{xen:if $microdata, ' itemscope="itemscope" itemtype="http://data-vocabulary.org/Breadcrumb"'}>
                        <a href="{xen:raw $breadcrumb.href}" class="crumb"{xen:if $microdata, ' rel="up" itemprop="url"'}><span{xen:if $microdata, ' itemprop="title"'}>{xen:raw $breadcrumb.value}</span></a>
                        <span class="arrow"><span>&gt;</span></span>
                    </span>
                </xen:foreach>
            </xen:if>
        </span>
    </fieldset>
</nav>
 

Robby

Well-known member
#3
Hello thanks, but how can i put this into my wordpress installation. i have allready breadcrumbs but not in the style of xenforo.