Version Description
Download this release
Release Info
| Developer | joostdevalk |
| Plugin | |
| Version | 0.7.3 |
| Comparing to | |
| See all releases | |
Code changes from version 0.7.2 to 0.7.3
- readme.txt +2 -11
- yoast-breadcrumbs.php +1 -0
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.
|
| 8 |
|
| 9 |
Easily add breadcrumbs to your template!
|
| 10 |
|
|
@@ -20,13 +20,4 @@ More info:
|
|
| 20 |
|
| 21 |
== Installation ==
|
| 22 |
|
| 23 |
-
|
| 24 |
-
|
| 25 |
-
* Download the plugin
|
| 26 |
-
* Unzip the package and upload the file to your WordPress installation's plugins folder
|
| 27 |
-
* Enable the plugin
|
| 28 |
-
* Adjust any settings you want under Settings -> Breadcrumbs
|
| 29 |
-
* Add the following code to your theme's template(s):
|
| 30 |
-
`<?php if ( function_exists('yoast_breadcrumb') {
|
| 31 |
-
yoast_breadcrumb('<p id="breadcrumbs">','</p>');
|
| 32 |
-
} )?>`
|
| 4 |
Tags: rss, footer
|
| 5 |
Requires at least: 2.2
|
| 6 |
Tested up to: 2.7
|
| 7 |
+
stable tag: 0.7.3
|
| 8 |
|
| 9 |
Easily add breadcrumbs to your template!
|
| 10 |
|
| 20 |
|
| 21 |
== Installation ==
|
| 22 |
|
| 23 |
+
* Follow the instructions on the [Yoast Breadcrumbs](http://yoast.com/wordpress/breadcrumbs/) page.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
yoast-breadcrumbs.php
CHANGED
|
@@ -246,6 +246,7 @@ function yoast_breadcrumb($prefix = '', $suffix = '', $display = true) {
|
|
| 246 |
$tmp = array();
|
| 247 |
$tmp['title'] = strip_tags( get_the_title( $ancestor ) );
|
| 248 |
$tmp['url'] = get_permalink($ancestor);
|
|
|
|
| 249 |
if ($ancestor == $post->ID) {
|
| 250 |
$tmp['cur'] = true;
|
| 251 |
}
|
| 246 |
$tmp = array();
|
| 247 |
$tmp['title'] = strip_tags( get_the_title( $ancestor ) );
|
| 248 |
$tmp['url'] = get_permalink($ancestor);
|
| 249 |
+
$tmp['cur'] = false;
|
| 250 |
if ($ancestor == $post->ID) {
|
| 251 |
$tmp['cur'] = true;
|
| 252 |
}
|
