Title: Jinx-Breadcrumbs
Author: Lukas Rydygel
Published: <strong>30. november, 2020</strong>
Last modified: 4. juni, 2021

---

Søg plugins

![](https://ps.w.org/jinx-breadcrumbs/assets/banner-772x250.jpg?rev=2428656)

Dette plugin **er ikke blevet testet med de seneste 3 større udgivelser af WordPress**.
Det vedligeholdes eller understøttes muligvis ikke længere og kan have kompatibilitetsproblemer,
når det bruges med nyere versioner af WordPress.

![](https://ps.w.org/jinx-breadcrumbs/assets/icon-256x256.png?rev=2428656)

# Jinx-Breadcrumbs

 Af [Lukas Rydygel](https://profiles.wordpress.org/lugat/)

[Download](https://downloads.wordpress.org/plugin/jinx-breadcrumbs.zip)

 * [Detaljer](https://da.wordpress.org/plugins/jinx-breadcrumbs/#description)
 * [Vurderinger](https://da.wordpress.org/plugins/jinx-breadcrumbs/#reviews)
 *  [Installation](https://da.wordpress.org/plugins/jinx-breadcrumbs/#installation)
 * [Udvikling](https://da.wordpress.org/plugins/jinx-breadcrumbs/#developers)

 [Support](https://wordpress.org/support/plugin/jinx-breadcrumbs/)

## Beskrivelse

The plugin allows you to render breadcrumbs and configurate them with filters.

### Usage

Use the function ‘jinx_breadcrumbs’ to render the breadcrumbs where you want them
to be. You may overwrite the default arguments by passing an array to the function.

    ```
    <?php

      if (function_exists('jinx_breadcrumbs')) :

        jinx_breadcrumbs([
          // default args
          'home' => __('Home', 'jinx-breadcrumbs'),
          'search' => __('Search: "%s"', 'jinx-breadcrumbs'),
          '404' => __('Error 404', 'jinx-breadcrumbs'),
          'author' => __('Author: %s', 'jinx-breadcrumbs'),
          'year' => 'Y',
          'month' => 'F',
          'day' => 'd',
          'before' => '<nav aria-label="breadcrumb"><ol>',
          'after' => '</ol></nav>',
          'before_item' => '<li%s>',
          'after_item' => '</li>',
        ]);

      endif;

    ?>
    ```

You may also use the filter ‘jinx_jinx_breadcrumbs’ to overwrite them.

    ```
    <?php

      add_filter('jinx_breadcrumbs', function($args) {

        return array_merge($args, [
          'home' => __('Start', 'cca'),
          'search' => __('Your searched for "%s"', 'cca'),
        ]);

      });

    ?>
    ```

The plugin will automatically try to find the correct archive pages by using the
rewrite slug of custom taxonomies and post types.

If you may want to change this behavior, you may use some filters to manipulate 
the archive page.

If you return NULL, the archive page will be removed.

    ```
    <?php

      // filters the archive page, passing the PID, type ('taxonomy' or 'post_type') and name (eg. 'video')
      add_filter('jinx_breadcrumbs_archive', function($pid, $type, $name) {

        return $pid;

      }, 10, 3);

      // filters the archive page, passing the PID and name (eg. 'video')
      // the type is part of the filter (eg. 'jinx_breadcrumbs_archive_taxonomy')
      add_filter('jinx_breadcrumbs_archive_{type}', function($pid, $name) {

        return $pid;

      }, 10, 2);

      // filters the archive page, passing the PID
      // the type and name are part of the filter (eg. 'jinx_breadcrumbs_archive_post_type_video')
      add_filter('jinx_breadcrumbs_archive_{type}_{name}', function($pid) {

        return $pid;

      }, 10, 1);

    ?>
    ```

## Installation

 1. Unzip the downloaded package
 2. Upload `jinx-block-renderer` to the `/wp-content/plugins/` directory
 3. Activate the plugin through the ‘Plugins’ menu in WordPress

## Anmeldelser

Der er ingen anmeldelser for denne widget.

## Bidragsydere & udviklere

“Jinx-Breadcrumbs” er open source-software. Følgende personer har bidraget til dette
plugin.

Bidragsydere

 *   [ Lukas Rydygel ](https://profiles.wordpress.org/lugat/)

[Oversæt “Jinx-Breadcrumbs” til dit eget sprog.](https://translate.wordpress.org/projects/wp-plugins/jinx-breadcrumbs)

### Interesseret i udvikling?

[Gennemse koden](https://plugins.trac.wordpress.org/browser/jinx-breadcrumbs/), 
tjek [SVN repository](https://plugins.svn.wordpress.org/jinx-breadcrumbs/), eller
abonner på [udviklerloggen](https://plugins.trac.wordpress.org/log/jinx-breadcrumbs/)
via [RSS](https://plugins.trac.wordpress.org/log/jinx-breadcrumbs/?limit=100&mode=stop_on_copy&format=rss).

## Meta

 *  Version **0.2.11**
 *  Senest opdateret **5 år siden**
 *  Aktive installationer **Færre end 10**
 *  WordPress-version ** 5.0 eller højere **
 *  Testet op til **5.5.18**
 *  PHP-version ** 7.1 eller højere **
 *  Sprog
 * [English (US)](https://wordpress.org/plugins/jinx-breadcrumbs/)
 * Tags
 * [breadcrumbs](https://da.wordpress.org/plugins/tags/breadcrumbs/)[seo](https://da.wordpress.org/plugins/tags/seo/)
 *  [Avanceret visning](https://da.wordpress.org/plugins/jinx-breadcrumbs/advanced/)

## Bedømmelser

Der er endnu ikke indsendt nogen anmeldelser.

[Your review](https://wordpress.org/support/plugin/jinx-breadcrumbs/reviews/#new-post)

[Se alle anmeldelser.](https://wordpress.org/support/plugin/jinx-breadcrumbs/reviews/)

## Bidragsydere

 *   [ Lukas Rydygel ](https://profiles.wordpress.org/lugat/)

## Support

Har du noget at sige? Har du brug for hjælp?

 [Vis supportforum](https://wordpress.org/support/plugin/jinx-breadcrumbs/)