# Custom breadCrumb inop (ok)

functions.php

```
remove_action('woocommerce_before_main_content','woocommerce_breadcrumb',20);
add_action( 'woocommercebreadcrumbct', 'woocommerce_breadcrumb' );
```

header.php

![](https://2370029328-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-LWPtKFbhw0XehxVuoiZ%2F-M4tRsMtuf_SofP2uIye%2F-M4tSm1dcl8TSYKrQXB4%2FScreenshot_8.png?alt=media\&token=ce1fd665-de5f-46f8-ad4b-f698d29834ff)

```
<div id="tm-main" <?= get_attrs($attrs_main_section) ?> uk-height-viewport="expand: true">
  <div class="uk-container containerback">
      <div class="back">
        <img src="https://inop.vyanh.net/wp-content/uploads/2020/03/undo-1.png" alt="undo-1.png">&nbsp;
        <a href="https://inop.vyanh.net/">Back</a>
      </div>
      <?php if ($site['breadcrumbs']) : ?>
        <?= get_section('breadcrumbs') ?>
      <?php endif ?>
    </div>
</div>
```

![](https://2370029328-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-LWPtKFbhw0XehxVuoiZ%2F-M4tRsMtuf_SofP2uIye%2F-M4tSDJD17JZE8yKyZKC%2FScreenshot_7.png?alt=media\&token=2b123e0d-c83d-4595-861f-24022acc6f5e)

![](https://2370029328-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-LWPtKFbhw0XehxVuoiZ%2F-M4tRsMtuf_SofP2uIye%2F-M4tSAC2AfRBHUhcCG6A%2FScreenshot_6.png?alt=media\&token=023cfb76-a7cc-4f99-835f-368a5cf37509)
