Yoast Breadcrumbs - Version 0.6.3

Version Description

Download this release

Release Info

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

Code changes from version 0.6.2 to 0.6.3

Files changed (3) hide show
  1. readme.txt +1 -1
  2. yoast-breadcrumbs.php +1 -1
  3. yoast-posts.php +6 -6
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.6
7
- stable tag: 0.6.2
8
9
Easily add breadcrumbs to your template!
10
4
Tags: rss, footer
5
Requires at least: 2.2
6
Tested up to: 2.6
7
+ stable tag: 0.6.3
8
9
Easily add breadcrumbs to your template!
10
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.6.2
6
Author: Joost de Valk
7
Author URI: http://yoast.com/
8
2
Plugin Name: Yoast Breadcrumbs
3
Plugin URI: http://yoast.com/wordpress/breadcrumbs/
4
Description: Outputs a fully customizable breadcrumb path.
5
+ Version: 0.6.3
6
Author: Joost de Valk
7
Author URI: http://yoast.com/
8
yoast-posts.php CHANGED
@@ -31,10 +31,11 @@ if (!class_exists('YoastPosts')) {
31
return $widgets;
32
}
33
34
- function widget($args) {
35
$show = get_option('show_yoast_widget');
36
if ($show != 'noshow') {
37
- extract( $args, EXTR_SKIP );
38
echo $before_widget.$before_title.$widget_name.$after_title;
39
echo '<a href="http://yoast.com/"><img style="margin: 0 0 5px 5px;" src="http://yoast.com/images/yoast-logo-rss.png" align="right" alt="Yoast"/></a>';
40
include_once(ABSPATH . WPINC . '/rss.php');
@@ -44,11 +45,10 @@ if (!class_exists('YoastPosts')) {
44
<?php if (empty($items)) echo '<li>No items</li>';
45
else
46
foreach ( $items as $item ) : ?>
47
- <a style="font-size: 14px; font-weight:bold;" href='<?php echo $item['link']; ?>' title='<?php echo $item['title']; ?>'><?php echo $item['title']; ?></a> <span style="font-size: 14px; color: #aaa;"><?php echo date('j F Y',strtotime($item['pubdate'])); ?></span><br/>
48
- <?php echo substr($item['summary'],0,strpos($item['summary'], "This is a post from")); ?>
49
- <br/>
50
<?php endforeach;
51
- echo '<p style="float:right;"><a href="?show_yoast_widget=true">Remove this widget</a></p>';
52
echo $after_widget;
53
}
54
}
31
return $widgets;
32
}
33
34
+ function widget($args = array()) {
35
$show = get_option('show_yoast_widget');
36
if ($show != 'noshow') {
37
+ if (is_array($args))
38
+ extract( $args, EXTR_SKIP );
39
echo $before_widget.$before_title.$widget_name.$after_title;
40
echo '<a href="http://yoast.com/"><img style="margin: 0 0 5px 5px;" src="http://yoast.com/images/yoast-logo-rss.png" align="right" alt="Yoast"/></a>';
41
include_once(ABSPATH . WPINC . '/rss.php');
45
<?php if (empty($items)) echo '<li>No items</li>';
46
else
47
foreach ( $items as $item ) : ?>
48
+ <a style="font-size: 14px; font-weight:bold;" href='<?php echo $item['link']; ?>' title='<?php echo $item['title']; ?>'><?php echo $item['title']; ?></a><br/>
49
+ <p style="font-size: 10px; color: #aaa;"><?php echo date('j F Y',strtotime($item['pubdate'])); ?></p>
50
+ <p><?php echo substr($item['summary'],0,strpos($item['summary'], "This is a post from")); ?></p>
51
<?php endforeach;
52
echo $after_widget;
53
}
54
}