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

Breadcrumbs with custom post type without plugin

The issue with most breadcrumb functions is that it relies on the $post object on all pages. Not only is the $post global totally unreliable (see my post here), it might not even contain the data that we need, even if the $post global is not compromised The $post global on archive pages (which includes … Read more

Change posts list Breadcrumb

It seems that you have a misunderstanding about a static front page and a blogpage and the returned result from the conditional tags. Here is a short explanation STATIC FRONT PAGE The general misconception is that your static front page is your home page, which it is not. The static front page is just a … Read more