How-to get the get_category_parents() breadcrumbs trail without link on last item
I wouldn’t consider this any better/worse than Kaiser’s option, but just different. Why not use get_category_parents on the parent category and then (optionally) append the current category? I haven’t tested this, but something like the following should work: $cat_id=7;//current category’s ID (e.g. 7) $separator=”»”;//The separator to use $category = get_category($cat_id);//$category is the current category object … Read more