• Hello,

    I am trying to exclude subcategories from breadcrumbs. Can anyone offer help? I’m pretty sure it comes from the do_post_hierarchial() function but I cannot be sure.

    Thanks so much!

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

    (@mtekk)

    Is there a reason that you are not using custom taxonomies rather than trying to hide categories? Honestly, it will most likely be the simplest way to do what you want (and in the long run will be less of a headache).

    If you must need to use categories for the “private”/hidden stuff, then at the moment I would recommend looking at the bcn_before_fill and bcn_after_fill action hooks (works just like other WordPress action hooks, yes I need to document them better but time has never been on my side). The other method is to use OOP principles and extend bcn_breadcrumb_trail, overriding the term_parents() function.

Viewing 1 replies (of 1 total)
  • The topic ‘[Plugin: Breadcrumb NavXT] Excluding Subcategories’ is closed to new replies.