The breadcrumb loop is used to generate the "breadcrumbs", which is the trail of category names at the top of each photo's permalink page in the default photo template.
The basic syntax of the loop is:
The loop starts with the Main Page category and does one iteration for each category or photo album up to and including the current one. For example, if the currently viewed photo album is in the category Main Page/Photos/FijiVacation, the loop will go through Main Page, then Photos, then FijiVacation.
Within the breadcrumb loop, you can use these variables, whose contents change with each iteration:
| The label of the category for the current iteration. The label of a category is the name that is displayed to the blog reader.
|
| The name of the category for the current iteration. The name of a category is the name used internally by Blogware. A category's name is part of its URL.
|
| A boolean that is true when the category for the current iteration is the current category.
|
| The URL of the page for the category for the current iteration.
|
Example
Here's an example breadcrumb loop:
| <a href="{{url}}">{{label}} ({{name}})</a>
|
| <strong> :: You are here</strong>
|
For an article in the photo album Main Page/Photos/FijiVacation, the breadcrumbs would look like this:
| Fiji Vacation (fijivacation) :: You are here
|
Trackbacks
TrackBack URL:
http://demo.blogharbor.com/blog/_trackback/82696
No trackbacks found.