Support » Plugin: Breadcrumb NavXT » Breadcrumb showing template title not page title

  • I have inherited a site that was neglected for a time. The previous developer chose to hide updates rather than fix them so, as you can imagine, there are some conflicts that I’m working through.

    My issue at this point is that this breadcrumb plugin placing the template name in the trail rather than the page name. So for example instead of:

    Home – Page 1 – Sub Page 1

    It says:

    Home – Breadcrumb Template

    The site was built on Visual Composer. The template engine has been extended with Templatera which is pulling in the breadcrumbs through a widget.

    Right now I have everything locally so there isn’t anything I can link you to.

    The site is quite large so a rebuild isn’t in the cards for them at the moment.

    Do you have any advice?

Viewing 6 replies - 1 through 6 (of 6 total)
  • Plugin Author John Havlik

    (@mtekk)

    Well, that’s an interesting one. I have a few questions that will hopefully help me figure out what is going on here. First, what version of Breadcrumb NavXT was installed before and which version did you upgrade to (I’m assuming this happened)? If you go to the Breadcrumb NavXT settings, what does the “Page Breadcrumb Template” look like?

    I’m upgrading it from 5.3.0 to 6.1.0.

    Page Breadcrumb Template:

    <span typeof="v:Breadcrumb"><a rel="v:url" property="v:title" title="Go to %title%." href="%link%" class="%type%">%htitle%</a></span>

    Thanks!

    Plugin Author John Havlik

    (@mtekk)

    If you don’t mind, can you share the HTML markup generated by Breadcrumb NavXT (may have to share as a screenshot or post as a gist/pastebin or something like that)?

        <aside class="widget widget_breadcrumb_navxt" id="bcn_widget-2">
            <ol class="breadcrumb_trail breadcrumbs">
                <!-- Breadcrumb NavXT 6.1.0 -->
                <li class="home"><span typeof="v:Breadcrumb"><a class="home" href="http://redacted" property="v:title" rel="v:url" title="redacted">Home</a></span></li>
                <li class="post post-templatera current-item">
                    <span property="itemListElement" typeof="ListItem"><a class="post post-templatera current-item" href="http://redacted/templatera/breadcrumbs-social-icons-interior-pages/" property="item" title="Go to Breadcrumbs and Social Icons for Interior Pages." typeof="WebPage"><span property="name">Breadcrumbs and Social Icons for Interior Pages</span></a></span>
                    <meta content="2" property="position">
                </li>
            </ol>
        </aside>
    • This reply was modified 1 year, 3 months ago by  mattwillms.

    Just bumping this. I’ve been out of town for a few days.

    Plugin Author John Havlik

    (@mtekk)

    Looks like you have a secondary loop that messes with the global $wp_query and/or $post object. You can try placing wp_reset_query() before bcn_display() is called (the best place is after the secondary loop).

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Breadcrumb showing template title not page title’ is closed to new replies.