Viewing 4 replies - 1 through 4 (of 4 total)
  • After upgrading to 5.0.0, I did reactivate Breadcrumb NavXT, but the plugin stopped working for me. I even deleted the plugin and reinstalled it. I am using a child theme of “Platform” Version: 1.4.3 [1]. Granted, this is an old theme which has been deprecated by the developer, so I don’t expect Breadcrumb NavXT to support it. But, since I did have this problem, I will be staying with version 4.4.0.

    [1] Platform is by https://www.pagelines.com/

    Plugin Author John Havlik

    (@mtekk)

    Do you know how the theme is calling Breadcrumb NavXT? Look for a bcn_display() function call. Additionally, it may be possible that the theme looks for bcn_breadcrumb_admin.php / the associated class to exist rather than bcn_display(). A quick mod of that code could make the theme compatible with 5.0. Let me know what you find.

    Here’s the code, which does call bcn_display(); I’m not sure why it failed. No, it doesn’t look for bcn_breadcrumb_admin.php.


    function section_template() {
    ?>
    <div class="breadcrumb subtext">
    <?php
    if(function_exists('bcn_display')){
    if(pagelines_option('breadcrumb_no_link')){
    //Make new breadcrumb object
    $breadcrumb_trail = new bcn_breadcrumb_trail;
    //Setup options here if needed
    //Fill the breadcrumb trail
    $breadcrumb_trail->fill();
    //Display the trail, but don't link the breadcrumbs
    bcn_display(false,false);
    }else{
    bcn_display();
    }
    }else{
    echo '<p style=text-align:center;>';
    _e('Please activate the Breadcrumb-NavXT plug-in to use the section.', 'pagelines');
    echo '</p>';
    }

    ?>
    </div>
    <?php
    }

    Plugin Author John Havlik

    (@mtekk)

    The lines

    //Make new breadcrumb object
    $breadcrumb_trail = new bcn_breadcrumb_trail;
    //Setup options here if needed
    //Fill the breadcrumb trail
    $breadcrumb_trail->fill();

    should not be necessary if you are calling bcn_display() as they are evoked automatically by it.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Readme Before Updating to 5.0.0’ is closed to new replies.