Changeset 2164
- Timestamp:
- 01/31/2005 03:49:50 AM (21 years ago)
- File:
-
- 1 edited
-
trunk/wp-includes/template-functions-category.php (modified) (4 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-includes/template-functions-category.php
r2160 r2164 63 63 $thelist .= get_category_parents($category->category_parent, TRUE); 64 64 } 65 $thelist .= '<a href="' . get_category_link(0, $category->category_id, $category->category_nicename) . '" title="' . sprintf(__("View all posts in %s"), $category->cat_name) . '" >'.$category->cat_name.'</a></li>';65 $thelist .= '<a href="' . get_category_link(0, $category->category_id, $category->category_nicename) . '" title="' . sprintf(__("View all posts in %s"), $category->cat_name) . '" rel="category tag">'.$category->cat_name.'</a></li>'; 66 66 break; 67 67 case 'single': 68 $thelist .= '<a href="' . get_category_link(0, $category->category_id, $category->category_nicename) . '" title="' . sprintf(__("View all posts in %s"), $category->cat_name) . ' >';68 $thelist .= '<a href="' . get_category_link(0, $category->category_id, $category->category_nicename) . '" title="' . sprintf(__("View all posts in %s"), $category->cat_name) . ' rel="category tag">'; 69 69 if ($category->category_parent) { 70 70 $thelist .= get_category_parents($category->category_parent, FALSE); … … 74 74 case '': 75 75 default: 76 $thelist .= '<a href="' . get_category_link(0, $category->category_id, $category->category_nicename) . '" title="' . sprintf(__("View all posts in %s"), $category->cat_name) . '" >'.$category->cat_name.'</a></li>';76 $thelist .= '<a href="' . get_category_link(0, $category->category_id, $category->category_nicename) . '" title="' . sprintf(__("View all posts in %s"), $category->cat_name) . '" rel="category tag">'.$category->cat_name.'</a></li>'; 77 77 } 78 78 } … … 86 86 case 'multiple': 87 87 if ($category->category_parent) $thelist .= get_category_parents($category->category_parent, TRUE); 88 $thelist .= '<a href="' . get_category_link(0, $category->category_id, $category->category_nicename) . '" title="' . sprintf(__("View all posts in %s"), $category->cat_name) . '" >'.$category->cat_name.'</a>';88 $thelist .= '<a href="' . get_category_link(0, $category->category_id, $category->category_nicename) . '" title="' . sprintf(__("View all posts in %s"), $category->cat_name) . '" rel="category tag">'.$category->cat_name.'</a>'; 89 89 break; 90 90 case 'single': 91 $thelist .= '<a href="' . get_category_link(0, $category->category_id, $category->category_nicename) . '" title="' . sprintf(__("View all posts in %s"), $category->cat_name) . '" >';91 $thelist .= '<a href="' . get_category_link(0, $category->category_id, $category->category_nicename) . '" title="' . sprintf(__("View all posts in %s"), $category->cat_name) . '" rel="category tag">'; 92 92 if ($category->category_parent) $thelist .= get_category_parents($category->category_parent, FALSE); 93 93 $thelist .= "$category->cat_name</a>"; … … 95 95 case '': 96 96 default: 97 $thelist .= '<a href="' . get_category_link(0, $category->category_id, $category->category_nicename) . '" title="' . sprintf(__("View all posts in %s"), $category->cat_name) . '" >'.$category->cat_name.'</a>';97 $thelist .= '<a href="' . get_category_link(0, $category->category_id, $category->category_nicename) . '" title="' . sprintf(__("View all posts in %s"), $category->cat_name) . '" rel="category tag">'.$category->cat_name.'</a>'; 98 98 } 99 99 ++$i;
Note: See TracChangeset
for help on using the changeset viewer.