-
Notifications
You must be signed in to change notification settings - Fork 5
/
readme.txt
70 lines (50 loc) · 2.39 KB
/
readme.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
=== Carbon Breadcrumbs ===
Contributors: tyxla
Tags: breadcrumb, breadcrumbs, carbon, admin, trail, settings, developer, configuration, extending, advanced, glue, before, after, auto
Requires at least: 3.8
Tested up to: 4.5
Stable tag: 1.0.2
License: GPLv2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
A basic WordPress plugin for breadcrumbs with advanced capabilities for extending.
== Description ==
Provides the theme and plugin developers an easy way to build and implement highly customizable breadcrumb functionality, specifically tailored to their needs.
Supports a lot of filters and hooks, and is written in OOP style, giving developers full control over the breadcrumb trail items and appearance.
This plugin can also be embedded in themes, instead of installing it as a WordPress plugin.
== Installation ==
1. Install Carbon Breadcrumbs either via the WordPress.org plugin directory, or by uploading the files to your server.
1. Activate the plugin.
1. That's it. You're ready to go! Please, refer to the Configuration section for examples and usage information.
== Configuration ==
The most basic way to insert Carbon Breadcrumbs in your theme code is:
`<?php Carbon_Breadcrumb_Trail::output(); ?>`
If you want to specify various breadcrumb rendering options, you can specify them in an array, like this:
`<?php
Carbon_Breadcrumb_Trail::output(array(
'glue' => ' > ', // glue between breadcrumb items
'link_before' => '',
'link_after' => '',
'wrapper_before' => '',
'wrapper_after' => '',
'title_before' => '',
'title_after' => '',
'min_items' => 2,
'last_item_link' => true,
'display_home_item' => true,
'home_item_title' => __('Home', 'carbon_breadcrumbs'),
'renderer' => 'Carbon_Breadcrumb_Trail_Renderer',
));
?>`
For additional configuration and developer documentation, you can visit the Github repository:
https://github.com/tyxla/carbon-breadcrumbs
== Ideas and bug reports ==
Any ideas for new modules or any other additional functionality that users would benefit from are welcome.
If you have an idea for a new feature, or you want to report a bug, feel free to do it here in the Support tab, or you can do it at the Github repository of the project:
https://github.com/tyxla/carbon-breadcrumbs
== Changelog ==
= 1.0.2 =
Tested with WordPress 4.5.
= 1.0.1 =
Add some `.gitattributes` to make exporting lighter.
= 1.0 =
Initial version.