Yoast Breadcrumbs - Version 0.7.5

Version Description

Download this release

Release Info

Developer joostdevalk
Plugin Icon wp plugin Yoast Breadcrumbs
Version 0.7.5
Comparing to
See all releases

Code changes from version 0.7.4 to 0.7.5

Files changed (2) hide show
  1. readme.txt +5 -1
  2. yoast-breadcrumbs.php +8 -4
readme.txt CHANGED
@@ -4,7 +4,7 @@ Donate link: http://yoast.com/donate/
4
Tags: rss, footer
5
Requires at least: 2.2
6
Tested up to: 2.7
7
- stable tag: 0.7.4
8
9
Easily add breadcrumbs to your template!
10
@@ -18,6 +18,10 @@ More info:
18
* Read more about how to improve your [WordPress SEO](http://yoast.com/articles/wordpress-seo/), so you can get the most out of this plugin.
19
* Check out the other [Wordpress plugins](http://yoast.com/wordpress/) by the same author.
20
21
== Installation ==
22
23
* Follow the instructions on the [Yoast Breadcrumbs](http://yoast.com/wordpress/breadcrumbs/) page.
4
Tags: rss, footer
5
Requires at least: 2.2
6
Tested up to: 2.7
7
+ stable tag: 0.7.5
8
9
Easily add breadcrumbs to your template!
10
18
* Read more about how to improve your [WordPress SEO](http://yoast.com/articles/wordpress-seo/), so you can get the most out of this plugin.
19
* Check out the other [Wordpress plugins](http://yoast.com/wordpress/) by the same author.
20
21
+ == Changelog ==
22
+
23
+ * 0.7.5 Aded support for custom taxonomies
24
+
25
== Installation ==
26
27
* Follow the instructions on the [Yoast Breadcrumbs](http://yoast.com/wordpress/breadcrumbs/) page.
yoast-breadcrumbs.php CHANGED
@@ -2,7 +2,7 @@
2
Plugin Name: Yoast Breadcrumbs
3
Plugin URI: http://yoast.com/wordpress/breadcrumbs/
4
Description: Outputs a fully customizable breadcrumb path.
5
- Version: 0.7.4
6
Author: Joost de Valk
7
Author URI: http://yoast.com/
8
@@ -213,13 +213,17 @@ function yoast_breadcrumb($prefix = '', $suffix = '', $display = true) {
213
$output .= yoast_get_category_parents($cat, false, " ".$opt['sep']." ");
214
} elseif ( is_tag() ) {
215
$output .= bold_or_not($opt['archiveprefix']." ".single_cat_title('',false));
216
- } elseif (is_date()) {
217
$output .= bold_or_not($opt['archiveprefix']." ".single_month_title(' ',false));
218
- } elseif (is_author()) {
219
$user = get_userdatabylogin($wp_query->query_vars['author_name']);
220
$output .= bold_or_not($opt['archiveprefix']." ".$user->display_name);
221
- } elseif (is_search()) {
222
$output .= bold_or_not($opt['searchprefix'].' "'.get_search_query().'"');
223
} else {
224
$output .= bold_or_not(get_the_title());
225
}
2
Plugin Name: Yoast Breadcrumbs
3
Plugin URI: http://yoast.com/wordpress/breadcrumbs/
4
Description: Outputs a fully customizable breadcrumb path.
5
+ Version: 0.7.6
6
Author: Joost de Valk
7
Author URI: http://yoast.com/
8
213
$output .= yoast_get_category_parents($cat, false, " ".$opt['sep']." ");
214
} elseif ( is_tag() ) {
215
$output .= bold_or_not($opt['archiveprefix']." ".single_cat_title('',false));
216
+ } elseif ( is_date() ) {
217
$output .= bold_or_not($opt['archiveprefix']." ".single_month_title(' ',false));
218
+ } elseif ( is_author() ) {
219
$user = get_userdatabylogin($wp_query->query_vars['author_name']);
220
$output .= bold_or_not($opt['archiveprefix']." ".$user->display_name);
221
+ } elseif ( is_search() ) {
222
$output .= bold_or_not($opt['searchprefix'].' "'.get_search_query().'"');
223
+ } else if ( is_tax() ) {
224
+ $taxonomy = get_taxonomy ( get_query_var('taxonomy') );
225
+ $term = get_query_var('term');
226
+ $output .= $taxonomy->label .': '.bold_or_not( $term );
227
} else {
228
$output .= bold_or_not(get_the_title());
229
}