Skip to content
Browse files

Implementing Google Breadcrumb microformat

  • Loading branch information...
1 parent 211a35c commit d16e8d5585443e489be60f922390a35c79688ba5 @acidvertigo acidvertigo committed Aug 22, 2011
Showing with 1 addition and 1 deletion.
  1. +1 −1 catalog/includes/classes/breadcrumb.php
View
2 catalog/includes/classes/breadcrumb.php
@@ -31,7 +31,7 @@ function trail($separator = ' - ') {
$n=sizeof($this->_trail);
for ($i=0; $i<$n; $i++) {
if (isset($this->_trail[$i]['link']) && tep_not_null($this->_trail[$i]['link'])) {
- $trail_string .= '<a href="' . $this->_trail[$i]['link'] . '" class="headerNavigation">' . $this->_trail[$i]['title'] . '</a>';
+ $trail_string .= '<div itemscope="itemscope" itemtype="http://data-vocabulary.org/Breadcrumb" style="float:left;"><a href="' . $this->_trail[$i]['link'] . '" itemprop="url" class="headerNavigation"><span itemprop="title" style="float:left;" >' . $this->_trail[$i]['title'] . '</span></a>';
} else {
$trail_string .= $this->_trail[$i]['title'];
}

0 comments on commit d16e8d5

Please sign in to comment.
Something went wrong with that request. Please try again.