WordPress.org

Support

Support » Plugins and Hacks » Breadcrumb NavXT » [Resolved] Where did Breadcrumb NavXT go?

[Resolved] Where did Breadcrumb NavXT go?

  • Hi,

    Maybe I’m overseeing something but I don’t see the breadcrumb trail anymore at the top of my page like it used to be until last week. It is still enabled but it just doesn’t show. And, with over 700 pages, I do need it… Can you please take a quick look at my site and let me know what I can do to bring it back?

    Many thanks!

    Rutger

    http://wordpress.org/extend/plugins/breadcrumb-navxt/

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

    @mtekk

    If you look at the HTML source the PHP code for Breadcrumb NavXT isn’t getting executed (getting passed straight through to the browser). Make sure you placed the calling code within a PHP file (.php extension).

    Hi,

    Thanks for your response. Unfortunately, I do not master PHP, therefore I do not understand what you’re saying. Can you be more precise, i.e. can you tell me what the calling code is and in which file and where in the file I should put it?
    Should it perhaps be somewhere in “the loop”?

    Thanks,

    Rutger

    Plugin Author John Havlik

    @mtekk

    The calling code is fundamentally a call to the function bcn_display(). There may be some extra code surrounding it for presentation purposes (keeping things from being called if the plugin isn’t activated, etc.), but . Examples of the two standard calling code blocks are available within the “Quick Start” section of the built in help (click the help tab in the Breadcrumb NavXT settings page within your WordPress admin area).

    The calling code does not have to be in “the loop”, it was designed to work outside of “the loop” (and probably works inside the loop) to increase flexibility.

    For the linked site I’m seeing:

    <div class="breadcrumb">
    <?php
    if(function_exists('bcn_display'))
    {
        bcn_display();
    }
    ?>
    </div>
    <?php } ?>

    the area between the<?php and ?>is the code that PHP is supposed to be reading and executing, it shouldn’t show up in the output HTML that a browser sees. I noticed a stray<?php if ( !is_front_page() ) { ?>
    that is being output as well. Something is very goofy here.

    I guess the first thing to look at is where did you place the calling code? In particular, what is the name of the file it is located in?

    Or, by chance, did you try placing it in a text widget or something along the lines of a PHP code execution widget? I could see that causing this issue. If you want to use a widget, a Breadcrumb NavXT widget is provided as part of the normal plugin install.

    Hi,
    It’s been six months since your reply but I just wanted to let you know that I got things working again. The error was due to a glitch in the Atahualpa theme (which is otherwise great); the solution being to put the calling code directly in the theme’s index.php file, right after get_header(); ?>

    Thanks again!
    Rutger

    Plugin Author John Havlik

    @mtekk

    Glad you got things working, thanks for following up.

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘[Resolved] Where did Breadcrumb NavXT go?’ is closed to new replies.
Skip to toolbar