Update templates/shop/breadcrumb.php
Last trail Home > Shop (Shop is last trail) should not have a link. Makes no sense.
This commit is contained in:
parent
251bbe75d1
commit
da160bb21e
|
@ -89,7 +89,7 @@ if ( (!is_home() && !is_front_page() && !(is_post_type_archive() && get_option('
|
||||||
|
|
||||||
else :
|
else :
|
||||||
|
|
||||||
echo $before . '<a href="' . get_post_type_archive_link('product') . '">' . $_name . '</a>' . $after;
|
echo $before . $_name . $after;
|
||||||
|
|
||||||
endif;
|
endif;
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue