# VK Bread Crumb

```
composer require vektor-inc/vk-breadcrumb
```

load autoload
```
require_once dirname( __FILE__ ) . '/vendor/autoload.php';
```

Display bread crumb
```
use VektorInc\VK_Breadcrumb\VkBreadcrumb;
$vk_breadcrumb      = new VkBreadcrumb();
$breadcrumb_options = array(
	'id_outer'        => 'breadcrumb',
	'class_outer'     => 'breadcrumb',
	'class_inner'     => 'container',
	'class_list'      => 'breadcrumb-list',
	'class_list_item' => 'breadcrumb-list__item',
);
$vk_breadcrumb->the_breadcrumb( $breadcrumb_options );
```

---
## test

```
npm install
composer install
wp-env start
npm run phpunit
```

---

## Change log

0.2.8
[ Other ] VkHelpers を static メソッドとして呼び出すように変更

0.2.7
[ Other ] Update VK Helpers 0.2.0 -> 0.2.1

0.2.6
[ Other ] Update VK Helpers 0.0.3 -> 0.2.0

0.2.5
[ Other ] Update VK Helpers 0.0.2 -> 0.0.3

0.2.4
[ Bug fix ] Fix filter search behabier

0.2.3
[ Bug fix ] Fix front page behabier

0.2.2
[ Specification Change ] Add option to wrapper_attributes method for Gutenberg.

0.1.0
[ Specification Change ] Add get_breadcrumb() method

0.0.5 
[ Bug fix ] id が class_outer になってしまっていたので修正
