WordPress Development Stack Exchange is a question and answer site for WordPress developers and administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I am using the "breadcrumb-navxt" plugin and have following issue:

I have a page and some posts in that page. When I go to that page and selects a post to display as single post the breadcrumb shows


which is what I need, but when I hover over the link on 'pagename' it shows 'category/postname' which should be 'pagename'.

I found the following piece of code in class.bcn_breadcrumb.php file which might be generating the category of post but don't know what to replace it with;

    //Figure out the anchor for current category
    $breadcrumb->set_url(get_term_link($term, $term->taxonomy));
    //Get parents of current category
        $this->term_parents($term->parent, $term->taxonomy);

I need to change category/postname to pagename.

share|improve this question
As far as I can see that, that's specific to the plugin, but not to wordpress? – kaiser Jan 31 '14 at 11:41
Change the structure in your Permalink settings. This question relates to a plugin which is off topic as not specific to WordPress. – Brad Dalton Jan 31 '14 at 13:03

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.