Update templates/shop/breadcrumb.php

When on Shop page, Shop is a link when is paged. I think it is useful for better navigation since the pagination is down.

It is more an idea.

http://i45.tinypic.com/317dr10.jpg
This commit is contained in:
kingbt 2012-08-25 13:39:00 +03:00
parent 25d063a519
commit dc814793b9
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;