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:
parent
25d063a519
commit
dc814793b9
|
@ -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;
|
||||
|
||||
|
|
Loading…
Reference in New Issue