Well, you really should not do this, it is considered a bad practice. However, if you must, just apply the method depicted in http://mtekk.us/archives/guides/conditionally-remove-home/ but replace array_pop with array_shift. You may also need to replace the is_page call with the appropriate WordPress Conditional Tag.
hi mtekk
Thanks for your reply.
I am using this code in my function.php as you said
`<?php add_action(‘bcn_after_fill’, ‘foo_pop’);
function foo_pop(&$trail)
{
if(is_single(‘4688’))
{
array_shift($trail->trail);
}
}?>`
After write this code , No changes in breadcrumb
if i am in single page template
My breadcrumb having like this blog > health > how to lead a life
but I need like this blog > health
If you placed that code in your theme’s functions.php file, then the only thing that may be incorrect is the is_single(‘4688’) part. Try removing the ‘4688’ (including quotes), see if it removes the current item’s breadcrumb for any post or “page” page.