Merge pull request #1433 from kingbt/patch-6

Update templates/shop/breadcrumb.php
This commit is contained in:
Mike Jolley 2012-08-25 03:43:24 -07:00
commit c147fdbd9b
1 changed files with 5 additions and 0 deletions

View File

@ -89,7 +89,12 @@ if ( (!is_home() && !is_front_page() && !(is_post_type_archive() && get_option('
else :
if (is_paged()) {
echo $before . '<a href="' . get_post_type_archive_link('product') . '">' . $_name . '</a>' . $after;
}
if (!is_paged()) {
echo $before . $_name . $after;
}
endif;