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

Breadcrumbs

Discussion in 'Styling and Customization Questions' started by Robby, Oct 9, 2011.

  1. Robby

    Robby Well-Known Member

    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?
     
  2. Fuhrmann

    Fuhrmann Well-Known Member

    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>
     
  3. Robby

    Robby Well-Known Member

    Hello thanks, but how can i put this into my wordpress installation. i have allready breadcrumbs but not in the style of xenforo.
     

Share This Page