Version Description
Download this release
Release Info
Developer | greenshady |
Plugin | Breadcrumb Trail |
Version | 0.1 |
Comparing to | |
See all releases |
Version 0.1
- breadcrumb-trail.php +229 -0
- breadcrumb-trail.pot +64 -0
- en_EN.mo +0 -0
- en_EN.po +64 -0
- license.txt +339 -0
- readme.css +280 -0
- readme.html +134 -0
- readme.txt +63 -0
breadcrumb-trail.php
ADDED
@@ -0,0 +1,229 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
/**
|
3 |
+
* Plugin Name: Breadcrumb Trail
|
4 |
+
* Plugin URI: http://justintadlock.com/archives/2009/04/05/breadcrumb-trail-wordpress-plugin
|
5 |
+
* Description: A WordPress plugin that gives you the <code>breadcrumb_trail()</code> template tag to use anywhere in your theme to show a breadcrumb menu.
|
6 |
+
* Version: 0.1
|
7 |
+
* Author: Justin Tadlock
|
8 |
+
* Author URI: http://justintadlock.com
|
9 |
+
*
|
10 |
+
* A script for showing a breadcrumb menu within template files.
|
11 |
+
* Use the template tag breadcrumb_trail() to get it to display.
|
12 |
+
* Two filter hooks are available for developers to change the
|
13 |
+
* output: breadcrumb_trail_args and breadcrumb_trail.
|
14 |
+
*
|
15 |
+
* @copyright 2008 - 2009
|
16 |
+
* @version 0.1
|
17 |
+
* @author Justin Tadlock
|
18 |
+
* @link http://justintadlock.com/archives/2009/04/05/breadcrumb-trail-wordpress-plugin
|
19 |
+
* @license http://www.gnu.org/licenses/old-licenses/gpl-2.0.html
|
20 |
+
*
|
21 |
+
* This program is distributed in the hope that it will be useful,
|
22 |
+
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
23 |
+
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
|
24 |
+
*
|
25 |
+
* @package BreadcrumbTrail
|
26 |
+
*/
|
27 |
+
|
28 |
+
/**
|
29 |
+
* Yes, we're localizing the plugin. This partly makes sure non-English
|
30 |
+
* users can use it too. To translate into your language use the
|
31 |
+
* en_EN.po file as as guide. Poedit is a good tool to for translating.
|
32 |
+
* @link http://poedit.net
|
33 |
+
*
|
34 |
+
* @since 0.1
|
35 |
+
*/
|
36 |
+
load_plugin_textdomain( 'breadcrumb_trail' );
|
37 |
+
|
38 |
+
/**
|
39 |
+
* Shows a breadcrumb for all types of pages
|
40 |
+
* Themes and plugins can filter $args or input directly
|
41 |
+
* Allow filtering of only the $args using get_the_breadcrumb_args
|
42 |
+
*
|
43 |
+
* Check for page templates in use: archives.php, authors.php, categories.php, tags.php
|
44 |
+
* This is to set the breadcrumb for archives: date.php, author.php, category.php, tag.php
|
45 |
+
* If in use, add the first page found using it as part of the breadcrumb for archives
|
46 |
+
*
|
47 |
+
* @since 0.1
|
48 |
+
* @param array mixed arguments for the menu
|
49 |
+
* @return string Output of the breadcrumb menu
|
50 |
+
*/
|
51 |
+
function breadcrumb_trail( $args = array() ) {
|
52 |
+
global $post;
|
53 |
+
|
54 |
+
// Set up the default arguments for the breadcrumb
|
55 |
+
$defaults = array(
|
56 |
+
'separator' => '/',
|
57 |
+
'before' => '<span class="breadcrumb-title">' . __('Browse:', 'breadcrumb_trail') . '</span>',
|
58 |
+
'after' => false,
|
59 |
+
'front_page' => true,
|
60 |
+
'show_home' => __('Home', 'breadcrumb_trail'),
|
61 |
+
'format' => 'flat', // Implement later
|
62 |
+
'echo' => true,
|
63 |
+
);
|
64 |
+
|
65 |
+
// Apply filters to the arguments
|
66 |
+
$args = apply_filters( 'breadcrumb_trail_args', $args );
|
67 |
+
|
68 |
+
// Parse the arguments and extract them for easy variable naming
|
69 |
+
$args = wp_parse_args( $args, $defaults );
|
70 |
+
extract( $args );
|
71 |
+
|
72 |
+
// Put spaces around the separator
|
73 |
+
$separator = ' ' . $separator . ' ';
|
74 |
+
|
75 |
+
// If it is the front page
|
76 |
+
// Return no value
|
77 |
+
if ( is_front_page() && !$front_page )
|
78 |
+
return;
|
79 |
+
|
80 |
+
if ( ( is_home() && is_front_page() ) && ( !$front_page ) )
|
81 |
+
return;
|
82 |
+
|
83 |
+
// Begin the breadcrumb
|
84 |
+
$breadcrumb = '<div class="breadcrumb breadcrumbs"><div class="breadcrumb-trail">';
|
85 |
+
$breadcrumb .= $before;
|
86 |
+
if ( $show_home ) :
|
87 |
+
$breadcrumb .= ' <a href="' . get_bloginfo( 'url' ) . '" title="' . get_bloginfo( 'name' ) . '" rel="home" class="trail-begin">' . $show_home . '</a>';
|
88 |
+
if ( !is_home() && !is_front_page() )
|
89 |
+
$breadcrumb .= $separator;
|
90 |
+
endif;
|
91 |
+
|
92 |
+
// Pages
|
93 |
+
if ( is_page() && !is_front_page() ) :
|
94 |
+
$parents = array();
|
95 |
+
$parent_id = $post->post_parent;
|
96 |
+
while ( $parent_id ) :
|
97 |
+
$page = get_page( $parent_id );
|
98 |
+
if ( $params["link_none"] )
|
99 |
+
$parents[] = get_the_title( $page->ID );
|
100 |
+
else
|
101 |
+
$parents[] = '<a href="' . get_permalink( $page->ID ) . '" title="' . get_the_title( $page->ID ) . '">' . get_the_title( $page->ID ) . '</a> ' . $separator;
|
102 |
+
$parent_id = $page->post_parent;
|
103 |
+
endwhile;
|
104 |
+
$parents = array_reverse( $parents );
|
105 |
+
$breadcrumb .= join( ' ', $parents );
|
106 |
+
$breadcrumb .= '<span class="trail-end">' . get_the_title() . '</span>';
|
107 |
+
|
108 |
+
// If home or front page
|
109 |
+
elseif ( is_front_page() && $front_page ) :
|
110 |
+
$breadcrumb = '<div class="breadcrumb breadcrumbs"><div class="breadcrumb-trail">' . $before . ' ' . $show_home;
|
111 |
+
|
112 |
+
// If attachment
|
113 |
+
elseif ( is_attachment() ) :
|
114 |
+
$breadcrumb .= '<a href="' . get_permalink( $post->post_parent ) . '" title="' . get_the_title( $post->post_parent ) . '">' . get_the_title( $post->post_parent ) . '</a>';
|
115 |
+
$breadcrumb .= $separator;
|
116 |
+
$breadcrumb .= '<span class="trail-end">' . get_the_title() . '</span>';
|
117 |
+
|
118 |
+
// Single posts
|
119 |
+
elseif ( is_single() ) :
|
120 |
+
$categories = get_the_category( ', ' );
|
121 |
+
if ( $categories ) :
|
122 |
+
foreach ( $categories as $cat ) :
|
123 |
+
$cats[] = '<a href="' . get_category_link( $cat->term_id ) . '" title="' . $cat->name . '">' . $cat->name . '</a>';
|
124 |
+
endforeach;
|
125 |
+
$breadcrumb .= join( ', ', $cats );
|
126 |
+
$breadcrumb .= $separator;
|
127 |
+
endif;
|
128 |
+
$breadcrumb .= '<span class="trail-end">' . single_post_title( false, false ) . '</span>';
|
129 |
+
|
130 |
+
// Categories
|
131 |
+
elseif ( is_category() ) :
|
132 |
+
$pages = get_pages( array(
|
133 |
+
'title_li' => '',
|
134 |
+
'meta_key' => '_wp_page_template',
|
135 |
+
'meta_value' => 'categories.php',
|
136 |
+
'echo' => 0
|
137 |
+
) );
|
138 |
+
if ( $pages && $pages[0]->ID !== get_option( 'page_on_front') )
|
139 |
+
$breadcrumb .= '<a href="' . get_page_link( $pages[0]->ID ) . '" title="' . $pages[0]->post_title . '">' . $pages[0]->post_title . '</a>' . $separator;
|
140 |
+
// Category parents
|
141 |
+
$cat = intval( get_query_var( 'cat' ) );
|
142 |
+
$parent = &get_category( $cat );
|
143 |
+
if ( is_wp_error( $parent ) )
|
144 |
+
$parents = false;
|
145 |
+
if ( $parent->parent && ( $parent->parent != $parent->term_id ) )
|
146 |
+
$parents = get_category_parents( $parent->parent, true, $separator, false );
|
147 |
+
|
148 |
+
if ( $parents ) $breadcrumb .= $parents;
|
149 |
+
$breadcrumb .= '<span class="trail-end">' . single_cat_title( false, false ) . '</span>';
|
150 |
+
|
151 |
+
// Tags
|
152 |
+
elseif ( is_tag() ) :
|
153 |
+
$pages = get_pages( array(
|
154 |
+
'title_li' => '',
|
155 |
+
'meta_key' => '_wp_page_template',
|
156 |
+
'meta_value' => 'tags.php',
|
157 |
+
'echo' => 0
|
158 |
+
) );
|
159 |
+
if ( $pages && $pages[0]->ID !== get_option( 'page_on_front' ) )
|
160 |
+
$breadcrumb .= '<a href="' . get_page_link( $pages[0]->ID ) . '" title="' . $pages[0]->post_title . '">' . $pages[0]->post_title . '</a>' . $separator;
|
161 |
+
$breadcrumb .= '<span class="trail-end">' . single_tag_title( false, false ) . '</span>';
|
162 |
+
|
163 |
+
// Authors
|
164 |
+
elseif ( is_author() ) :
|
165 |
+
$pages = get_pages( array(
|
166 |
+
'title_li' => '',
|
167 |
+
'meta_key' => '_wp_page_template',
|
168 |
+
'meta_value' => 'authors.php',
|
169 |
+
'echo' => 0
|
170 |
+
) );
|
171 |
+
if ( $pages && $pages[0]->ID !== get_option( 'page_on_front' ) )
|
172 |
+
$breadcrumb .= '<a href="' . get_page_link( $pages[0]->ID ) . '" title="' . $pages[0]->post_title . '">' . $pages[0]->post_title . '</a>' . $separator;
|
173 |
+
$breadcrumb .= '<span class="trail-end">' . wp_title( false, false, false ) . '</span>';
|
174 |
+
|
175 |
+
// Search
|
176 |
+
elseif ( is_search() ) :
|
177 |
+
$breadcrumb .= '<span class="trail-end">';
|
178 |
+
$breadcrumb .= sprintf( __('Search results for "%1$s"', 'breadcrumb_trail'), attribute_escape( get_search_query() ) );
|
179 |
+
$breadcrumb .= '</span>';
|
180 |
+
|
181 |
+
elseif ( is_date() ) :
|
182 |
+
$pages = get_pages( array(
|
183 |
+
'title_li' => '',
|
184 |
+
'meta_key' => '_wp_page_template',
|
185 |
+
'meta_value' => 'archives.php',
|
186 |
+
'echo' => 0
|
187 |
+
) );
|
188 |
+
if ( $pages && $pages[0]->ID !== get_option( 'page_on_front' ) )
|
189 |
+
$breadcrumb .= '<a href="' . get_page_link( $pages[0]->ID ) . '" title="' . $pages[0]->post_title . '">' . $pages[0]->post_title . '</a>' . $separator;
|
190 |
+
|
191 |
+
// Day
|
192 |
+
if ( is_day() ) :
|
193 |
+
$breadcrumb .= '<a href="' . get_year_link( get_the_time( __('Y', 'breadcrumb_trail') ) ) . '" title="' . get_the_time( __('Y', 'breadcrumb_trail') ) . '">' . get_the_time( __('Y', 'breadcrumb_trail') ) . '</a>' . $separator;
|
194 |
+
$breadcrumb .= '<a href="' . get_month_link( get_the_time( __('Y', 'breadcrumb_trail') ), get_the_time( __('m', 'breadcrumb_trail') ) ) . '" title="' . get_the_time( __('F', 'breadcrumb_trail') ) . '">' . get_the_time( __('F', 'breadcrumb_trail') ) . '</a>' . $separator;
|
195 |
+
$breadcrumb .= '<span class="trail-end">' . get_the_time( __('j', 'breadcrumb_trail') ) . '</span>';
|
196 |
+
|
197 |
+
// Week
|
198 |
+
elseif ( get_query_var( 'w' ) ) :
|
199 |
+
$breadcrumb .= '<a href="' . get_year_link( get_the_time( __('Y', 'breadcrumb_trail') ) ) . '" title="' . get_the_time( __('Y', 'breadcrumb_trail') ) . '">' . get_the_time( __('Y', 'breadcrumb_trail') ) . '</a>' . $separator;
|
200 |
+
$breadcrumb .= '<span class="trail-end">' . sprintf( __('Week %1$s', 'hybrid' ), get_the_time( __('W', 'breadcrumb_trail') ) ) . '</span>';
|
201 |
+
|
202 |
+
// Month
|
203 |
+
elseif ( is_month() ) :
|
204 |
+
$breadcrumb .= '<a href="' . get_year_link( get_the_time( __('Y', 'breadcrumb_trail') ) ) . '" title="' . get_the_time( __('Y', 'breadcrumb_trail') ) . '">' . get_the_time( __('Y', 'breadcrumb_trail') ) . '</a>' . $separator;
|
205 |
+
$breadcrumb .= '<span class="trail-end">' . get_the_time( __('F', 'breadcrumb_trail') ) . '</span>';
|
206 |
+
|
207 |
+
// Year
|
208 |
+
elseif ( is_year() ) :
|
209 |
+
$breadcrumb .= '<span class="trail-end">' . get_the_time( __('Y', 'breadcrumb_trail') ) . '</span>';
|
210 |
+
|
211 |
+
endif;
|
212 |
+
|
213 |
+
// 404
|
214 |
+
elseif ( is_404() ) :
|
215 |
+
$breadcrumb .= '<span class="trail-end">' . __('404 Not Found', 'breadcrumb_trail') . '</span>';
|
216 |
+
|
217 |
+
endif;
|
218 |
+
|
219 |
+
// End the breadcrumb
|
220 |
+
$breadcrumb .= $after . '</div></div>';
|
221 |
+
|
222 |
+
// Output the breadcrumb
|
223 |
+
if ( $echo )
|
224 |
+
echo apply_filters( 'breadcrumb_trail', $breadcrumb );
|
225 |
+
else
|
226 |
+
return apply_filters( 'breadcrumb_trail', $breadcrumb );
|
227 |
+
}
|
228 |
+
|
229 |
+
?>
|
breadcrumb-trail.pot
ADDED
@@ -0,0 +1,64 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
msgid ""
|
2 |
+
msgstr ""
|
3 |
+
"Project-Id-Version: Breadcrumb Trail WordPress Plugin\n"
|
4 |
+
"Report-Msgid-Bugs-To: \n"
|
5 |
+
"POT-Creation-Date: 2009-04-05 19:56+0900\n"
|
6 |
+
"PO-Revision-Date: \n"
|
7 |
+
"Last-Translator: Justin Tadlock <justin@justintadlock.com>\n"
|
8 |
+
"Language-Team: <justin@justintadlock.com>\n"
|
9 |
+
"MIME-Version: 1.0\n"
|
10 |
+
"Content-Type: text/plain; charset=UTF-8\n"
|
11 |
+
"Content-Transfer-Encoding: 8bit\n"
|
12 |
+
"X-Poedit-Language: English\n"
|
13 |
+
"X-Poedit-Country: UNITED STATES\n"
|
14 |
+
"X-Poedit-KeywordsList: _e;__\n"
|
15 |
+
"X-Poedit-Basepath: .\n"
|
16 |
+
"X-Poedit-SearchPath-0: .\n"
|
17 |
+
|
18 |
+
#: breadcrumb-trail.php:57
|
19 |
+
msgid "Browse:"
|
20 |
+
msgstr ""
|
21 |
+
|
22 |
+
#: breadcrumb-trail.php:60
|
23 |
+
msgid "Home"
|
24 |
+
msgstr ""
|
25 |
+
|
26 |
+
#: breadcrumb-trail.php:178
|
27 |
+
#, php-format
|
28 |
+
msgid "Search results for "%1$s""
|
29 |
+
msgstr ""
|
30 |
+
|
31 |
+
#: breadcrumb-trail.php:193
|
32 |
+
#: breadcrumb-trail.php:194
|
33 |
+
#: breadcrumb-trail.php:199
|
34 |
+
#: breadcrumb-trail.php:204
|
35 |
+
#: breadcrumb-trail.php:209
|
36 |
+
msgid "Y"
|
37 |
+
msgstr ""
|
38 |
+
|
39 |
+
#: breadcrumb-trail.php:194
|
40 |
+
msgid "m"
|
41 |
+
msgstr ""
|
42 |
+
|
43 |
+
#: breadcrumb-trail.php:194
|
44 |
+
#: breadcrumb-trail.php:205
|
45 |
+
msgid "F"
|
46 |
+
msgstr ""
|
47 |
+
|
48 |
+
#: breadcrumb-trail.php:195
|
49 |
+
msgid "j"
|
50 |
+
msgstr ""
|
51 |
+
|
52 |
+
#: breadcrumb-trail.php:200
|
53 |
+
#, php-format
|
54 |
+
msgid "Week %1$s"
|
55 |
+
msgstr ""
|
56 |
+
|
57 |
+
#: breadcrumb-trail.php:200
|
58 |
+
msgid "W"
|
59 |
+
msgstr ""
|
60 |
+
|
61 |
+
#: breadcrumb-trail.php:215
|
62 |
+
msgid "404 Not Found"
|
63 |
+
msgstr ""
|
64 |
+
|
en_EN.mo
ADDED
Binary file
|
en_EN.po
ADDED
@@ -0,0 +1,64 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
msgid ""
|
2 |
+
msgstr ""
|
3 |
+
"Project-Id-Version: Breadcrumb Trail WordPress Plugin\n"
|
4 |
+
"Report-Msgid-Bugs-To: \n"
|
5 |
+
"POT-Creation-Date: 2009-04-05 19:56+0900\n"
|
6 |
+
"PO-Revision-Date: \n"
|
7 |
+
"Last-Translator: Justin Tadlock <justin@justintadlock.com>\n"
|
8 |
+
"Language-Team: <justin@justintadlock.com>\n"
|
9 |
+
"MIME-Version: 1.0\n"
|
10 |
+
"Content-Type: text/plain; charset=UTF-8\n"
|
11 |
+
"Content-Transfer-Encoding: 8bit\n"
|
12 |
+
"X-Poedit-Language: English\n"
|
13 |
+
"X-Poedit-Country: UNITED STATES\n"
|
14 |
+
"X-Poedit-KeywordsList: _e;__\n"
|
15 |
+
"X-Poedit-Basepath: .\n"
|
16 |
+
"X-Poedit-SearchPath-0: .\n"
|
17 |
+
|
18 |
+
#: breadcrumb-trail.php:57
|
19 |
+
msgid "Browse:"
|
20 |
+
msgstr ""
|
21 |
+
|
22 |
+
#: breadcrumb-trail.php:60
|
23 |
+
msgid "Home"
|
24 |
+
msgstr ""
|
25 |
+
|
26 |
+
#: breadcrumb-trail.php:178
|
27 |
+
#, php-format
|
28 |
+
msgid "Search results for "%1$s""
|
29 |
+
msgstr ""
|
30 |
+
|
31 |
+
#: breadcrumb-trail.php:193
|
32 |
+
#: breadcrumb-trail.php:194
|
33 |
+
#: breadcrumb-trail.php:199
|
34 |
+
#: breadcrumb-trail.php:204
|
35 |
+
#: breadcrumb-trail.php:209
|
36 |
+
msgid "Y"
|
37 |
+
msgstr ""
|
38 |
+
|
39 |
+
#: breadcrumb-trail.php:194
|
40 |
+
msgid "m"
|
41 |
+
msgstr ""
|
42 |
+
|
43 |
+
#: breadcrumb-trail.php:194
|
44 |
+
#: breadcrumb-trail.php:205
|
45 |
+
msgid "F"
|
46 |
+
msgstr ""
|
47 |
+
|
48 |
+
#: breadcrumb-trail.php:195
|
49 |
+
msgid "j"
|
50 |
+
msgstr ""
|
51 |
+
|
52 |
+
#: breadcrumb-trail.php:200
|
53 |
+
#, php-format
|
54 |
+
msgid "Week %1$s"
|
55 |
+
msgstr ""
|
56 |
+
|
57 |
+
#: breadcrumb-trail.php:200
|
58 |
+
msgid "W"
|
59 |
+
msgstr ""
|
60 |
+
|
61 |
+
#: breadcrumb-trail.php:215
|
62 |
+
msgid "404 Not Found"
|
63 |
+
msgstr ""
|
64 |
+
|
license.txt
ADDED
@@ -0,0 +1,339 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
GNU GENERAL PUBLIC LICENSE
|
2 |
+
Version 2, June 1991
|
3 |
+
|
4 |
+
Copyright (C) 1989, 1991 Free Software Foundation, Inc.,
|
5 |
+
51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
|
6 |
+
Everyone is permitted to copy and distribute verbatim copies
|
7 |
+
of this license document, but changing it is not allowed.
|
8 |
+
|
9 |
+
Preamble
|
10 |
+
|
11 |
+
The licenses for most software are designed to take away your
|
12 |
+
freedom to share and change it. By contrast, the GNU General Public
|
13 |
+
License is intended to guarantee your freedom to share and change free
|
14 |
+
software--to make sure the software is free for all its users. This
|
15 |
+
General Public License applies to most of the Free Software
|
16 |
+
Foundation's software and to any other program whose authors commit to
|
17 |
+
using it. (Some other Free Software Foundation software is covered by
|
18 |
+
the GNU Lesser General Public License instead.) You can apply it to
|
19 |
+
your programs, too.
|
20 |
+
|
21 |
+
When we speak of free software, we are referring to freedom, not
|
22 |
+
price. Our General Public Licenses are designed to make sure that you
|
23 |
+
have the freedom to distribute copies of free software (and charge for
|
24 |
+
this service if you wish), that you receive source code or can get it
|
25 |
+
if you want it, that you can change the software or use pieces of it
|
26 |
+
in new free programs; and that you know you can do these things.
|
27 |
+
|
28 |
+
To protect your rights, we need to make restrictions that forbid
|
29 |
+
anyone to deny you these rights or to ask you to surrender the rights.
|
30 |
+
These restrictions translate to certain responsibilities for you if you
|
31 |
+
distribute copies of the software, or if you modify it.
|
32 |
+
|
33 |
+
For example, if you distribute copies of such a program, whether
|
34 |
+
gratis or for a fee, you must give the recipients all the rights that
|
35 |
+
you have. You must make sure that they, too, receive or can get the
|
36 |
+
source code. And you must show them these terms so they know their
|
37 |
+
rights.
|
38 |
+
|
39 |
+
We protect your rights with two steps: (1) copyright the software, and
|
40 |
+
(2) offer you this license which gives you legal permission to copy,
|
41 |
+
distribute and/or modify the software.
|
42 |
+
|
43 |
+
Also, for each author's protection and ours, we want to make certain
|
44 |
+
that everyone understands that there is no warranty for this free
|
45 |
+
software. If the software is modified by someone else and passed on, we
|
46 |
+
want its recipients to know that what they have is not the original, so
|
47 |
+
that any problems introduced by others will not reflect on the original
|
48 |
+
authors' reputations.
|
49 |
+
|
50 |
+
Finally, any free program is threatened constantly by software
|
51 |
+
patents. We wish to avoid the danger that redistributors of a free
|
52 |
+
program will individually obtain patent licenses, in effect making the
|
53 |
+
program proprietary. To prevent this, we have made it clear that any
|
54 |
+
patent must be licensed for everyone's free use or not licensed at all.
|
55 |
+
|
56 |
+
The precise terms and conditions for copying, distribution and
|
57 |
+
modification follow.
|
58 |
+
|
59 |
+
GNU GENERAL PUBLIC LICENSE
|
60 |
+
TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION
|
61 |
+
|
62 |
+
0. This License applies to any program or other work which contains
|
63 |
+
a notice placed by the copyright holder saying it may be distributed
|
64 |
+
under the terms of this General Public License. The "Program", below,
|
65 |
+
refers to any such program or work, and a "work based on the Program"
|
66 |
+
means either the Program or any derivative work under copyright law:
|
67 |
+
that is to say, a work containing the Program or a portion of it,
|
68 |
+
either verbatim or with modifications and/or translated into another
|
69 |
+
language. (Hereinafter, translation is included without limitation in
|
70 |
+
the term "modification".) Each licensee is addressed as "you".
|
71 |
+
|
72 |
+
Activities other than copying, distribution and modification are not
|
73 |
+
covered by this License; they are outside its scope. The act of
|
74 |
+
running the Program is not restricted, and the output from the Program
|
75 |
+
is covered only if its contents constitute a work based on the
|
76 |
+
Program (independent of having been made by running the Program).
|
77 |
+
Whether that is true depends on what the Program does.
|
78 |
+
|
79 |
+
1. You may copy and distribute verbatim copies of the Program's
|
80 |
+
source code as you receive it, in any medium, provided that you
|
81 |
+
conspicuously and appropriately publish on each copy an appropriate
|
82 |
+
copyright notice and disclaimer of warranty; keep intact all the
|
83 |
+
notices that refer to this License and to the absence of any warranty;
|
84 |
+
and give any other recipients of the Program a copy of this License
|
85 |
+
along with the Program.
|
86 |
+
|
87 |
+
You may charge a fee for the physical act of transferring a copy, and
|
88 |
+
you may at your option offer warranty protection in exchange for a fee.
|
89 |
+
|
90 |
+
2. You may modify your copy or copies of the Program or any portion
|
91 |
+
of it, thus forming a work based on the Program, and copy and
|
92 |
+
distribute such modifications or work under the terms of Section 1
|
93 |
+
above, provided that you also meet all of these conditions:
|
94 |
+
|
95 |
+
a) You must cause the modified files to carry prominent notices
|
96 |
+
stating that you changed the files and the date of any change.
|
97 |
+
|
98 |
+
b) You must cause any work that you distribute or publish, that in
|
99 |
+
whole or in part contains or is derived from the Program or any
|
100 |
+
part thereof, to be licensed as a whole at no charge to all third
|
101 |
+
parties under the terms of this License.
|
102 |
+
|
103 |
+
c) If the modified program normally reads commands interactively
|
104 |
+
when run, you must cause it, when started running for such
|
105 |
+
interactive use in the most ordinary way, to print or display an
|
106 |
+
announcement including an appropriate copyright notice and a
|
107 |
+
notice that there is no warranty (or else, saying that you provide
|
108 |
+
a warranty) and that users may redistribute the program under
|
109 |
+
these conditions, and telling the user how to view a copy of this
|
110 |
+
License. (Exception: if the Program itself is interactive but
|
111 |
+
does not normally print such an announcement, your work based on
|
112 |
+
the Program is not required to print an announcement.)
|
113 |
+
|
114 |
+
These requirements apply to the modified work as a whole. If
|
115 |
+
identifiable sections of that work are not derived from the Program,
|
116 |
+
and can be reasonably considered independent and separate works in
|
117 |
+
themselves, then this License, and its terms, do not apply to those
|
118 |
+
sections when you distribute them as separate works. But when you
|
119 |
+
distribute the same sections as part of a whole which is a work based
|
120 |
+
on the Program, the distribution of the whole must be on the terms of
|
121 |
+
this License, whose permissions for other licensees extend to the
|
122 |
+
entire whole, and thus to each and every part regardless of who wrote it.
|
123 |
+
|
124 |
+
Thus, it is not the intent of this section to claim rights or contest
|
125 |
+
your rights to work written entirely by you; rather, the intent is to
|
126 |
+
exercise the right to control the distribution of derivative or
|
127 |
+
collective works based on the Program.
|
128 |
+
|
129 |
+
In addition, mere aggregation of another work not based on the Program
|
130 |
+
with the Program (or with a work based on the Program) on a volume of
|
131 |
+
a storage or distribution medium does not bring the other work under
|
132 |
+
the scope of this License.
|
133 |
+
|
134 |
+
3. You may copy and distribute the Program (or a work based on it,
|
135 |
+
under Section 2) in object code or executable form under the terms of
|
136 |
+
Sections 1 and 2 above provided that you also do one of the following:
|
137 |
+
|
138 |
+
a) Accompany it with the complete corresponding machine-readable
|
139 |
+
source code, which must be distributed under the terms of Sections
|
140 |
+
1 and 2 above on a medium customarily used for software interchange; or,
|
141 |
+
|
142 |
+
b) Accompany it with a written offer, valid for at least three
|
143 |
+
years, to give any third party, for a charge no more than your
|
144 |
+
cost of physically performing source distribution, a complete
|
145 |
+
machine-readable copy of the corresponding source code, to be
|
146 |
+
distributed under the terms of Sections 1 and 2 above on a medium
|
147 |
+
customarily used for software interchange; or,
|
148 |
+
|
149 |
+
c) Accompany it with the information you received as to the offer
|
150 |
+
to distribute corresponding source code. (This alternative is
|
151 |
+
allowed only for noncommercial distribution and only if you
|
152 |
+
received the program in object code or executable form with such
|
153 |
+
an offer, in accord with Subsection b above.)
|
154 |
+
|
155 |
+
The source code for a work means the preferred form of the work for
|
156 |
+
making modifications to it. For an executable work, complete source
|
157 |
+
code means all the source code for all modules it contains, plus any
|
158 |
+
associated interface definition files, plus the scripts used to
|
159 |
+
control compilation and installation of the executable. However, as a
|
160 |
+
special exception, the source code distributed need not include
|
161 |
+
anything that is normally distributed (in either source or binary
|
162 |
+
form) with the major components (compiler, kernel, and so on) of the
|
163 |
+
operating system on which the executable runs, unless that component
|
164 |
+
itself accompanies the executable.
|
165 |
+
|
166 |
+
If distribution of executable or object code is made by offering
|
167 |
+
access to copy from a designated place, then offering equivalent
|
168 |
+
access to copy the source code from the same place counts as
|
169 |
+
distribution of the source code, even though third parties are not
|
170 |
+
compelled to copy the source along with the object code.
|
171 |
+
|
172 |
+
4. You may not copy, modify, sublicense, or distribute the Program
|
173 |
+
except as expressly provided under this License. Any attempt
|
174 |
+
otherwise to copy, modify, sublicense or distribute the Program is
|
175 |
+
void, and will automatically terminate your rights under this License.
|
176 |
+
However, parties who have received copies, or rights, from you under
|
177 |
+
this License will not have their licenses terminated so long as such
|
178 |
+
parties remain in full compliance.
|
179 |
+
|
180 |
+
5. You are not required to accept this License, since you have not
|
181 |
+
signed it. However, nothing else grants you permission to modify or
|
182 |
+
distribute the Program or its derivative works. These actions are
|
183 |
+
prohibited by law if you do not accept this License. Therefore, by
|
184 |
+
modifying or distributing the Program (or any work based on the
|
185 |
+
Program), you indicate your acceptance of this License to do so, and
|
186 |
+
all its terms and conditions for copying, distributing or modifying
|
187 |
+
the Program or works based on it.
|
188 |
+
|
189 |
+
6. Each time you redistribute the Program (or any work based on the
|
190 |
+
Program), the recipient automatically receives a license from the
|
191 |
+
original licensor to copy, distribute or modify the Program subject to
|
192 |
+
these terms and conditions. You may not impose any further
|
193 |
+
restrictions on the recipients' exercise of the rights granted herein.
|
194 |
+
You are not responsible for enforcing compliance by third parties to
|
195 |
+
this License.
|
196 |
+
|
197 |
+
7. If, as a consequence of a court judgment or allegation of patent
|
198 |
+
infringement or for any other reason (not limited to patent issues),
|
199 |
+
conditions are imposed on you (whether by court order, agreement or
|
200 |
+
otherwise) that contradict the conditions of this License, they do not
|
201 |
+
excuse you from the conditions of this License. If you cannot
|
202 |
+
distribute so as to satisfy simultaneously your obligations under this
|
203 |
+
License and any other pertinent obligations, then as a consequence you
|
204 |
+
may not distribute the Program at all. For example, if a patent
|
205 |
+
license would not permit royalty-free redistribution of the Program by
|
206 |
+
all those who receive copies directly or indirectly through you, then
|
207 |
+
the only way you could satisfy both it and this License would be to
|
208 |
+
refrain entirely from distribution of the Program.
|
209 |
+
|
210 |
+
If any portion of this section is held invalid or unenforceable under
|
211 |
+
any particular circumstance, the balance of the section is intended to
|
212 |
+
apply and the section as a whole is intended to apply in other
|
213 |
+
circumstances.
|
214 |
+
|
215 |
+
It is not the purpose of this section to induce you to infringe any
|
216 |
+
patents or other property right claims or to contest validity of any
|
217 |
+
such claims; this section has the sole purpose of protecting the
|
218 |
+
integrity of the free software distribution system, which is
|
219 |
+
implemented by public license practices. Many people have made
|
220 |
+
generous contributions to the wide range of software distributed
|
221 |
+
through that system in reliance on consistent application of that
|
222 |
+
system; it is up to the author/donor to decide if he or she is willing
|
223 |
+
to distribute software through any other system and a licensee cannot
|
224 |
+
impose that choice.
|
225 |
+
|
226 |
+
This section is intended to make thoroughly clear what is believed to
|
227 |
+
be a consequence of the rest of this License.
|
228 |
+
|
229 |
+
8. If the distribution and/or use of the Program is restricted in
|
230 |
+
certain countries either by patents or by copyrighted interfaces, the
|
231 |
+
original copyright holder who places the Program under this License
|
232 |
+
may add an explicit geographical distribution limitation excluding
|
233 |
+
those countries, so that distribution is permitted only in or among
|
234 |
+
countries not thus excluded. In such case, this License incorporates
|
235 |
+
the limitation as if written in the body of this License.
|
236 |
+
|
237 |
+
9. The Free Software Foundation may publish revised and/or new versions
|
238 |
+
of the General Public License from time to time. Such new versions will
|
239 |
+
be similar in spirit to the present version, but may differ in detail to
|
240 |
+
address new problems or concerns.
|
241 |
+
|
242 |
+
Each version is given a distinguishing version number. If the Program
|
243 |
+
specifies a version number of this License which applies to it and "any
|
244 |
+
later version", you have the option of following the terms and conditions
|
245 |
+
either of that version or of any later version published by the Free
|
246 |
+
Software Foundation. If the Program does not specify a version number of
|
247 |
+
this License, you may choose any version ever published by the Free Software
|
248 |
+
Foundation.
|
249 |
+
|
250 |
+
10. If you wish to incorporate parts of the Program into other free
|
251 |
+
programs whose distribution conditions are different, write to the author
|
252 |
+
to ask for permission. For software which is copyrighted by the Free
|
253 |
+
Software Foundation, write to the Free Software Foundation; we sometimes
|
254 |
+
make exceptions for this. Our decision will be guided by the two goals
|
255 |
+
of preserving the free status of all derivatives of our free software and
|
256 |
+
of promoting the sharing and reuse of software generally.
|
257 |
+
|
258 |
+
NO WARRANTY
|
259 |
+
|
260 |
+
11. BECAUSE THE PROGRAM IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTY
|
261 |
+
FOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE LAW. EXCEPT WHEN
|
262 |
+
OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES
|
263 |
+
PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED
|
264 |
+
OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
|
265 |
+
MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE ENTIRE RISK AS
|
266 |
+
TO THE QUALITY AND PERFORMANCE OF THE PROGRAM IS WITH YOU. SHOULD THE
|
267 |
+
PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING,
|
268 |
+
REPAIR OR CORRECTION.
|
269 |
+
|
270 |
+
12. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING
|
271 |
+
WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY AND/OR
|
272 |
+
REDISTRIBUTE THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES,
|
273 |
+
INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING
|
274 |
+
OUT OF THE USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED
|
275 |
+
TO LOSS OF DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY
|
276 |
+
YOU OR THIRD PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER
|
277 |
+
PROGRAMS), EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE
|
278 |
+
POSSIBILITY OF SUCH DAMAGES.
|
279 |
+
|
280 |
+
END OF TERMS AND CONDITIONS
|
281 |
+
|
282 |
+
How to Apply These Terms to Your New Programs
|
283 |
+
|
284 |
+
If you develop a new program, and you want it to be of the greatest
|
285 |
+
possible use to the public, the best way to achieve this is to make it
|
286 |
+
free software which everyone can redistribute and change under these terms.
|
287 |
+
|
288 |
+
To do so, attach the following notices to the program. It is safest
|
289 |
+
to attach them to the start of each source file to most effectively
|
290 |
+
convey the exclusion of warranty; and each file should have at least
|
291 |
+
the "copyright" line and a pointer to where the full notice is found.
|
292 |
+
|
293 |
+
<one line to give the program's name and a brief idea of what it does.>
|
294 |
+
Copyright (C) <year> <name of author>
|
295 |
+
|
296 |
+
This program is free software; you can redistribute it and/or modify
|
297 |
+
it under the terms of the GNU General Public License as published by
|
298 |
+
the Free Software Foundation; either version 2 of the License, or
|
299 |
+
(at your option) any later version.
|
300 |
+
|
301 |
+
This program is distributed in the hope that it will be useful,
|
302 |
+
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
303 |
+
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
304 |
+
GNU General Public License for more details.
|
305 |
+
|
306 |
+
You should have received a copy of the GNU General Public License along
|
307 |
+
with this program; if not, write to the Free Software Foundation, Inc.,
|
308 |
+
51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
|
309 |
+
|
310 |
+
Also add information on how to contact you by electronic and paper mail.
|
311 |
+
|
312 |
+
If the program is interactive, make it output a short notice like this
|
313 |
+
when it starts in an interactive mode:
|
314 |
+
|
315 |
+
Gnomovision version 69, Copyright (C) year name of author
|
316 |
+
Gnomovision comes with ABSOLUTELY NO WARRANTY; for details type `show w'.
|
317 |
+
This is free software, and you are welcome to redistribute it
|
318 |
+
under certain conditions; type `show c' for details.
|
319 |
+
|
320 |
+
The hypothetical commands `show w' and `show c' should show the appropriate
|
321 |
+
parts of the General Public License. Of course, the commands you use may
|
322 |
+
be called something other than `show w' and `show c'; they could even be
|
323 |
+
mouse-clicks or menu items--whatever suits your program.
|
324 |
+
|
325 |
+
You should also get your employer (if you work as a programmer) or your
|
326 |
+
school, if any, to sign a "copyright disclaimer" for the program, if
|
327 |
+
necessary. Here is a sample; alter the names:
|
328 |
+
|
329 |
+
Yoyodyne, Inc., hereby disclaims all copyright interest in the program
|
330 |
+
`Gnomovision' (which makes passes at compilers) written by James Hacker.
|
331 |
+
|
332 |
+
<signature of Ty Coon>, 1 April 1989
|
333 |
+
Ty Coon, President of Vice
|
334 |
+
|
335 |
+
This General Public License does not permit incorporating your program into
|
336 |
+
proprietary programs. If your program is a subroutine library, you may
|
337 |
+
consider it more useful to permit linking proprietary applications with the
|
338 |
+
library. If this is what you want to do, use the GNU Lesser General
|
339 |
+
Public License instead of this License.
|
readme.css
ADDED
@@ -0,0 +1,280 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
/* Reset values */
|
2 |
+
html, body, div, span, object, h1, h2, h3, h4, h5, h6, p, blockquote, pre, a, abbr, acronym, address, big, cite, code, del, dfn, em, img, ins, kbd, q, samp, small, strong, sub, sup, tt, var, dl, dt, dd, ol, ul, li, fieldset, form, label, legend, table, caption, tbody, tfoot, thead, tr, th, td {
|
3 |
+
margin: 0;
|
4 |
+
padding: 0;
|
5 |
+
vertical-align: baseline;
|
6 |
+
outline: none;
|
7 |
+
font-size: 100%;
|
8 |
+
background: transparent;
|
9 |
+
border: none;
|
10 |
+
text-decoration: none;
|
11 |
+
}
|
12 |
+
|
13 |
+
/*
|
14 |
+
* Get rid of deprecated and non-semantic elements
|
15 |
+
* These elements should not be used and replaced with proper alternatives
|
16 |
+
*/
|
17 |
+
b, i, hr, u, center, menu, layer, s, strike, font, xmp {
|
18 |
+
margin: 0;
|
19 |
+
padding: 0;
|
20 |
+
vertical-align: baseline;
|
21 |
+
outline: none;
|
22 |
+
font-size: 100%;
|
23 |
+
font-weight: normal;
|
24 |
+
font-style: normal;
|
25 |
+
background: transparent;
|
26 |
+
border: none;
|
27 |
+
text-decoration: none;
|
28 |
+
}
|
29 |
+
font {
|
30 |
+
color: #333;
|
31 |
+
}
|
32 |
+
center {
|
33 |
+
text-align: left;
|
34 |
+
}
|
35 |
+
|
36 |
+
/* End deprecated elements */
|
37 |
+
|
38 |
+
|
39 |
+
/* Body */
|
40 |
+
body {
|
41 |
+
line-height: 24px;
|
42 |
+
font-family: Cambria, Georgia, Times, "Times New Roman", serif;
|
43 |
+
color: #333;
|
44 |
+
background: #fff;
|
45 |
+
}
|
46 |
+
|
47 |
+
/* Headers */
|
48 |
+
h1, h2, h3, h4, h5, h6 {
|
49 |
+
font-style: normal;
|
50 |
+
font-weight: normal;
|
51 |
+
margin: 0 0 21px 0;
|
52 |
+
}
|
53 |
+
h1 {
|
54 |
+
font-size: 1.8em;
|
55 |
+
}
|
56 |
+
h2 {
|
57 |
+
font-size: 1.7em;
|
58 |
+
}
|
59 |
+
h3 {
|
60 |
+
font-size: 1.55em;;
|
61 |
+
}
|
62 |
+
h4 {
|
63 |
+
font-size: 1.4em;
|
64 |
+
}
|
65 |
+
h5 {
|
66 |
+
font-size: 1.25em;
|
67 |
+
}
|
68 |
+
h6 {
|
69 |
+
font-size: 1.1em;
|
70 |
+
}
|
71 |
+
|
72 |
+
/* Paragraphs */
|
73 |
+
p {
|
74 |
+
margin: 0 0 21px 0;
|
75 |
+
}
|
76 |
+
|
77 |
+
/* Lists */
|
78 |
+
ol, ul {
|
79 |
+
list-style: none;
|
80 |
+
}
|
81 |
+
ul {
|
82 |
+
list-style: disc;
|
83 |
+
margin: 0 0 21px 1.5em;
|
84 |
+
}
|
85 |
+
ol {
|
86 |
+
list-style-type: decimal;
|
87 |
+
margin: 0 0 21px 3em;
|
88 |
+
}
|
89 |
+
ol ol {
|
90 |
+
list-style: upper-roman;
|
91 |
+
}
|
92 |
+
ol ol ol {
|
93 |
+
list-style: lower-roman;
|
94 |
+
}
|
95 |
+
ol ol ol ol {
|
96 |
+
list-style: upper-alpha;
|
97 |
+
}
|
98 |
+
ol ol ol ol ol {
|
99 |
+
list-style: lower-alpha;
|
100 |
+
}
|
101 |
+
ul ul, ol ol, ul ol, ol ul {
|
102 |
+
margin-bottom: 0;
|
103 |
+
}
|
104 |
+
dl {
|
105 |
+
margin: 0 0 18px 3px;
|
106 |
+
}
|
107 |
+
dl dt {
|
108 |
+
font-weight: bold;
|
109 |
+
margin: 12px 0 0 0;
|
110 |
+
}
|
111 |
+
dl dd {
|
112 |
+
margin: 6px 0 0 1.5em;
|
113 |
+
}
|
114 |
+
|
115 |
+
/* Text elements */
|
116 |
+
strong {
|
117 |
+
font-weight: bold;
|
118 |
+
}
|
119 |
+
strong strong {
|
120 |
+
font-weight: normal;
|
121 |
+
}
|
122 |
+
em, cite {
|
123 |
+
font-style: italic;
|
124 |
+
}
|
125 |
+
em em, cite cite {
|
126 |
+
font-style: normal;
|
127 |
+
}
|
128 |
+
abbr {
|
129 |
+
cursor: help;
|
130 |
+
}
|
131 |
+
acronym {
|
132 |
+
text-transform: uppercase;
|
133 |
+
border-bottom: 1px dashed #666;
|
134 |
+
cursor: help;
|
135 |
+
}
|
136 |
+
big {
|
137 |
+
font-size: 120%;
|
138 |
+
}
|
139 |
+
small, sup, sub {
|
140 |
+
font-size: 80%;
|
141 |
+
}
|
142 |
+
sup {
|
143 |
+
vertical-align: baseline;
|
144 |
+
position: relative;
|
145 |
+
bottom: 0.3em;
|
146 |
+
}
|
147 |
+
sub {
|
148 |
+
vertical-align: baseline;
|
149 |
+
position: relative;
|
150 |
+
top: 0.3em;
|
151 |
+
}
|
152 |
+
address {
|
153 |
+
font-style: italic;
|
154 |
+
margin: 0 0 21px 0;
|
155 |
+
}
|
156 |
+
li address, dd address {
|
157 |
+
margin: 0;
|
158 |
+
}
|
159 |
+
|
160 |
+
/* Blockquotes */
|
161 |
+
blockquote {
|
162 |
+
margin: 0 2.5em;
|
163 |
+
font-style: normal;
|
164 |
+
}
|
165 |
+
blockquote em, blockquote cite {
|
166 |
+
font-style: italic;
|
167 |
+
}
|
168 |
+
blockquote, q {
|
169 |
+
quotes: none;
|
170 |
+
}
|
171 |
+
blockquote:before, blockquote:after, q:before, q:after {
|
172 |
+
content: '';
|
173 |
+
content: none;
|
174 |
+
}
|
175 |
+
|
176 |
+
/* Links */
|
177 |
+
a {
|
178 |
+
cursor: pointer;
|
179 |
+
}
|
180 |
+
a img {
|
181 |
+
border: none;
|
182 |
+
}
|
183 |
+
|
184 |
+
/* Code */
|
185 |
+
pre {
|
186 |
+
font: .9em Monaco, monospace, Courier, "Courier New";
|
187 |
+
line-height: 21px;
|
188 |
+
margin-bottom: 21px;
|
189 |
+
padding: 9px;
|
190 |
+
}
|
191 |
+
code {
|
192 |
+
font: .9em Monaco, monospace, Courier, "Courier New";
|
193 |
+
}
|
194 |
+
pre code {
|
195 |
+
font-size: 1em;
|
196 |
+
}
|
197 |
+
|
198 |
+
/* Delete and insert */
|
199 |
+
ins, dfn {
|
200 |
+
font-style: italic;
|
201 |
+
text-decoration: none;
|
202 |
+
border-bottom: 1px solid #666;
|
203 |
+
}
|
204 |
+
del {
|
205 |
+
text-decoration: line-through;
|
206 |
+
}
|
207 |
+
|
208 |
+
/* Object */
|
209 |
+
object {
|
210 |
+
margin-bottom: 21px;
|
211 |
+
}
|
212 |
+
|
213 |
+
/* Forms */
|
214 |
+
input, textarea {
|
215 |
+
font-size: 1em;
|
216 |
+
font-family: Cambria, Georgia, Times, "Times New Roman", serif;
|
217 |
+
padding: 3px;
|
218 |
+
}
|
219 |
+
:focus {
|
220 |
+
outline: none;
|
221 |
+
}
|
222 |
+
form label {
|
223 |
+
cursor: pointer;
|
224 |
+
}
|
225 |
+
|
226 |
+
/* Tables */
|
227 |
+
table {
|
228 |
+
border-collapse: collapse;
|
229 |
+
border-spacing: 0;
|
230 |
+
margin-bottom: 21px;
|
231 |
+
}
|
232 |
+
th, td {
|
233 |
+
text-align: left;
|
234 |
+
}
|
235 |
+
|
236 |
+
/* Horizontal rule */
|
237 |
+
hr {
|
238 |
+
margin-bottom: 21px;
|
239 |
+
}
|
240 |
+
|
241 |
+
body {
|
242 |
+
width: 780px;
|
243 |
+
margin: 36px auto;
|
244 |
+
font: 14px/21px "Lucida Grande", "Lucida Sans Unicode", Tahoma, Verdana, sans-serif;
|
245 |
+
}
|
246 |
+
/* Links */
|
247 |
+
a:link, a:visited {
|
248 |
+
color: #2f6eb9;
|
249 |
+
text-decoration: none;
|
250 |
+
}
|
251 |
+
a:hover, a:active {
|
252 |
+
text-decoration: underline;
|
253 |
+
}
|
254 |
+
/* Headers */
|
255 |
+
h1, h2, h3, h4, h5, h6 {
|
256 |
+
margin-top: 36px;
|
257 |
+
color: #666;
|
258 |
+
font-family: Cambria, Georgia, Times, "Times New Roman", serif;
|
259 |
+
}
|
260 |
+
h1, h2 {
|
261 |
+
padding-bottom: 12px;
|
262 |
+
border-bottom: 1px solid #ccc;
|
263 |
+
}
|
264 |
+
h1 {
|
265 |
+
margin-top: 0;
|
266 |
+
font-size: 2.1em;
|
267 |
+
}
|
268 |
+
code {
|
269 |
+
padding: 0 3px;
|
270 |
+
background: #eee;
|
271 |
+
}
|
272 |
+
pre code {
|
273 |
+
padding: 0;
|
274 |
+
}
|
275 |
+
pre {
|
276 |
+
overflow: auto;
|
277 |
+
padding: 9px;
|
278 |
+
background: #eee;
|
279 |
+
border: 1px solid #ccc;
|
280 |
+
}
|
readme.html
ADDED
@@ -0,0 +1,134 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
|
2 |
+
<html xmlns="http://www.w3.org/1999/xhtml">
|
3 |
+
<head>
|
4 |
+
<meta http-equiv="Content-Type" content="text/html;charset=utf-8"/>
|
5 |
+
<title>A guide to the Breadcrumb Trail plugin</title>
|
6 |
+
|
7 |
+
<link rel="stylesheet" href="readme.css" type="text/css" media="screen" />
|
8 |
+
|
9 |
+
</head>
|
10 |
+
<body>
|
11 |
+
|
12 |
+
<h1 title="A guide to using the Breadcrumb Trail plugin">A guide to Breadcrumb Trail</h1>
|
13 |
+
|
14 |
+
<p>
|
15 |
+
<em>Breadcrumb Trail</em> is a plugin that displays a breadcrumb menu on your site. Plain and simple.
|
16 |
+
</p>
|
17 |
+
|
18 |
+
<p>How is it any better than any other breadcrumb plugin? Well, it's probably not, to be perfectly honest. This is just a script I've been building upon for nearly a couple of years that I usually include with my WordPress themes. I figured I'd package it as a plugin for others to use as well.
|
19 |
+
</p>
|
20 |
+
|
21 |
+
<h2>How to install the plugin</h2>
|
22 |
+
|
23 |
+
<ol>
|
24 |
+
<li>Uzip the <code>breadcrumb-trail.zip</code> folder.</li>
|
25 |
+
<li>Upload the <code>breadcrumb-trail</code> folder to your <code>/wp-content/plugins</code> directory.</li>
|
26 |
+
<li>In your WordPress dashboard, head over to the <em>Plugins</em> section.</li>
|
27 |
+
<li>Activate <em>Breadcrumb Trail</em>.</li>
|
28 |
+
</ol>
|
29 |
+
|
30 |
+
<h2>How to use the plugin</h2>
|
31 |
+
|
32 |
+
<p>This plugin won't work automatically because there's no way for me to know where it should show within your theme. So, you'll have to add it manually in your template files. <em>Where?</em> Well, that's really up to you. You can add it pretty much anywhere you want.</p>
|
33 |
+
|
34 |
+
<p>This is the basic code:</p>
|
35 |
+
|
36 |
+
<pre><code><?php breadcrumb_trail(); ?></code></pre>
|
37 |
+
|
38 |
+
<h2>The default parameters</h2>
|
39 |
+
|
40 |
+
<p>By default, this plugin is designed to show things a certain way. Here are the defaults:</p>
|
41 |
+
|
42 |
+
<pre><code>$defaults = array(
|
43 |
+
'separator' => '/',
|
44 |
+
'before' => '<span class="breadcrumb-title">' . __('Browse:', 'breadcrumb_trail') . '</span>',
|
45 |
+
'after' => false,
|
46 |
+
'front_page' => true,
|
47 |
+
'show_home' => __('Home', 'breadcrumb_trail'),
|
48 |
+
'echo' => true,
|
49 |
+
);</code></pre>
|
50 |
+
|
51 |
+
<dl>
|
52 |
+
<dt>separator</dt>
|
53 |
+
<dd>The element that separates each item in the breadcrumb menu.</dd>
|
54 |
+
<dt>before</dt>
|
55 |
+
<dd>What should be shown before the trail.</dd>
|
56 |
+
<dt>after</dt>
|
57 |
+
<dd>What should be shown after the trail.</dd>
|
58 |
+
<dt>show_home</dt>
|
59 |
+
<dd>The text for the home link. Set to <code>false</code> if no home link is needed.</dd>
|
60 |
+
<dt>echo</dt>
|
61 |
+
<dd>Whether to print on the screen or return for use in a function.</dd>
|
62 |
+
</dl>
|
63 |
+
|
64 |
+
<h2>Custom examples</h2>
|
65 |
+
|
66 |
+
<p>Let's change the text before the breadcrumb trail.</p>
|
67 |
+
|
68 |
+
<pre><code><?php breadcrumb_trail( array( 'before' => 'You are here &raquo;' ) ); ?></code></pre>
|
69 |
+
|
70 |
+
<p>How about we change the separator between each item?</p>
|
71 |
+
|
72 |
+
<pre><code><?php breadcrumb_trail( array( 'separator' => '&rarr;' ) ); ?></code></pre>
|
73 |
+
|
74 |
+
<p>This time, we'll wrap the entire menu in brackets.</p>
|
75 |
+
|
76 |
+
<pre><code><?php breadcrumb_trail( array( 'before' => '{', 'after' => '}' ) ); ?></code></pre>
|
77 |
+
|
78 |
+
<p>Pretty simple stuff, right? Just mix and match the parameters however you want.</p>
|
79 |
+
|
80 |
+
<h2>Protect yourself from errors in the future</h2>
|
81 |
+
|
82 |
+
<p>
|
83 |
+
Sometimes, we stop using plugins, but we forget to remove the function calls to the plugins in our theme files. When deactivated, this causes errors. To protect yourself from these errors, you can call the breadcrumb trail like this:
|
84 |
+
</p>
|
85 |
+
|
86 |
+
<pre><code><?php if ( function_exists( 'breadcrumb_trail' ) ) { breadcrumb_trail(); } ?></code></pre>
|
87 |
+
|
88 |
+
<p>
|
89 |
+
Basically, this just checks to see if the plugin is activated and has loaded the appropriate function.
|
90 |
+
</p>
|
91 |
+
|
92 |
+
<h2>Styling your breadcrumb trail</h2>
|
93 |
+
|
94 |
+
<p>
|
95 |
+
<em>Breadcrumb Trail</em> comes with some extra classes to work with, so you can have a bit of freedom when styling your menu. Here are the <acronym title="Cascading Style Sheets">CSS</acronym> classes for your use:
|
96 |
+
</p>
|
97 |
+
|
98 |
+
<pre><code>.breadcrumb {
|
99 |
+
/* This is the outer 'div' you can style */
|
100 |
+
}
|
101 |
+
|
102 |
+
.breadcrumb-trail {
|
103 |
+
/* This is the inner 'div' you can style */
|
104 |
+
}</code></pre>
|
105 |
+
|
106 |
+
<h2>Developer tools</h2>
|
107 |
+
|
108 |
+
<p>If you're a theme developer, you can always add checks for this plugin and place it yourself within your template files or use <code>add_action()</code> to add it to a custom theme hook.</p>
|
109 |
+
|
110 |
+
<p>This plugin has two filter hooks for use as well:</p>
|
111 |
+
|
112 |
+
<dl>
|
113 |
+
<dt>breadcrumb_trail_args</dt>
|
114 |
+
<dd>Overwrite the arguments input and/or the defaults.</dd>
|
115 |
+
<dt>breadcrumb_trail</dt>
|
116 |
+
<dd>Completely overwrite the entire breadcrumb menu.</dd>
|
117 |
+
</dl>
|
118 |
+
|
119 |
+
<h2>Plugin support</h2>
|
120 |
+
|
121 |
+
<p>I run a WordPress community called <a href="http://themehybrid.com" title="Theme Hybrid">Theme Hybrid</a>, which is where I fully support all of my WordPress projects, including plugins. You can sign up for an account to get plugin support for a small yearly fee ($25 <acronym title="United States Dollars">USD</acronym> at the time of writing).</p>
|
122 |
+
|
123 |
+
<p>I know. I know. You might not want to pay for support, but just consider it a donation to the project. To continue making cool, <acronym title="GNU General Public License">GPL</acronym>-licensed plugins and having the time to support them, I must pay the bills.</p>
|
124 |
+
|
125 |
+
<h2>Copyright & license</h2>
|
126 |
+
|
127 |
+
<p><em>Breadcrumb Trail</em> is licensed under the <a href="http://www.gnu.org/licenses/old-licenses/gpl-2.0.html" title="GNU GPL">GNU General Public License</a>, version 2 (<acronym title="GNU General Public License">GPL</acronym>).</p>
|
128 |
+
|
129 |
+
<p>This plugin is copyrighted to <a href="http://justintadlock.com" title="Justin Tadlock">Justin Tadlock</a>.</p>
|
130 |
+
|
131 |
+
<p>2008 - 2009 © Justin Tadlock</p>
|
132 |
+
|
133 |
+
</body>
|
134 |
+
</html>
|
readme.txt
ADDED
@@ -0,0 +1,63 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
=== Breadcrumb Trail ===
|
2 |
+
Contributors: greenshady
|
3 |
+
Donate link: https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=3687060
|
4 |
+
Tags: navigation, menu
|
5 |
+
Requires at least: 2.5
|
6 |
+
Tested up to: 2.7.1
|
7 |
+
Stable tag: 0.1
|
8 |
+
|
9 |
+
An easy-to-use template tag for showing a breadcrumb menu on your site.
|
10 |
+
|
11 |
+
== Description ==
|
12 |
+
|
13 |
+
*Breadcrumb Trail* is a plugin that was designed to make it easy to add a breadcrumb menu anywhere you want in your theme.
|
14 |
+
|
15 |
+
How is it any better than any other breadcrumb plugin? Well, it's probably not, to be perfectly honest. This is just a script I've been building upon for nearly a couple of years that I usually include with my WordPress themes. I figured I'd package it as a plugin for others to use as well.
|
16 |
+
|
17 |
+
It gives you a new template tag called `breadcrumb_trail()` that you can place anywhere in your template files.
|
18 |
+
|
19 |
+
== Installation ==
|
20 |
+
|
21 |
+
1. Upload `breadcrumb-trail` to the `/wp-content/plugins/` directory.
|
22 |
+
1. Activate the plugin through the 'Plugins' menu in WordPress.
|
23 |
+
1. Add the appropriate code to your template files as outlined in the `readme.html` file.
|
24 |
+
|
25 |
+
More detailed instructions are included in the plugin's `readme.html` file. It is important to read through that file to properly understand all of the options and how the plugin works.
|
26 |
+
|
27 |
+
== Frequently Asked Questions ==
|
28 |
+
|
29 |
+
= Why was this plugin created? =
|
30 |
+
|
31 |
+
I mostly develop WordPress themes. Many of my users had a real need for a functional breadcrumb menu without having to find and test a lot of other plugins. So, I've been developing this script for nearly two years for my theme users.
|
32 |
+
|
33 |
+
I finally thought it was time to release it publicly so others could enjoy the benefits of this plugin just as my theme users have been.
|
34 |
+
|
35 |
+
= What's a breadcrumb menu? =
|
36 |
+
|
37 |
+
Basically, it's a navigational tool. On many sites, you'll see something that looks like this:
|
38 |
+
|
39 |
+
`You are here > Home > Archives > Sub-page`
|
40 |
+
|
41 |
+
This plugin allows you to easily add this to your site.
|
42 |
+
|
43 |
+
= How do I add it to my theme? =
|
44 |
+
|
45 |
+
There are several methods, but in general, you would use this call:
|
46 |
+
|
47 |
+
`
|
48 |
+
<?php if ( function_exists( 'breadcrumb_trail' ) ) breadcrumb_trail(); ?>
|
49 |
+
`
|
50 |
+
|
51 |
+
To see all methods and options, refer to the `readme.html` file included with the plugin download.
|
52 |
+
|
53 |
+
== Screenshots ==
|
54 |
+
|
55 |
+
There are no screenshots for this plugin.
|
56 |
+
|
57 |
+
== Changelog ==
|
58 |
+
|
59 |
+
Ealier versions were not documented well.
|
60 |
+
|
61 |
+
**Version 0.1**
|
62 |
+
|
63 |
+
* Launch of the new plugin.
|