• I have a number of pages set up which display lists of posts from categories of the same name as the pages, for example:
    Events page > list of Events category posts
    Current page > list of Current category posts

    I am trying to set up breadcrumbs in the single.php post template to show the following information on posts:
    Site name > Title of referring page/category (eg. Events) > Title of post

    However many of my posts, such as the linked example, are in multiple categories (eg. Current, Events). In these cases just the name of the first selected category is shown, rather than the name of the referring page. (In the NavXT settings I have ticked the options for ‘Show hierarchy leading to a post’ and ‘Allow referring page to influence…’)

    Is it possible to reflect referring pages with NavXT, when a post is in multiple categories?

    • This topic was modified 5 years, 6 months ago by thomsonson.

    The page I need help with: [log in to see the link]

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

    (@mtekk)

    What you’re asking for is more of a path breadcrumb trail rather than location breadcrumb trail. Breadcrumb NavXT by default generates location breadcrumb trails. The “Allow referring page to influence…” setting only applies to taxonomy selection. For selecting a different term in the same taxonomy (what you seem to be asking for), you either need some additional code that hooks into the bcn_pick_post_term filter). Should you not want to implement this yourself, there is a premium extension plugin (Breadcrumb NavXT Paths) that does this for you.

Viewing 1 replies (of 1 total)
  • The topic ‘Referring page, posts in multiple catagories’ is closed to new replies.