{"id":132455,"date":"2020-11-30T14:48:02","date_gmt":"2020-11-30T14:48:02","guid":{"rendered":"https:\/\/wordpress.org\/plugins\/jinx-breadcrumbs\/"},"modified":"2021-06-04T17:05:29","modified_gmt":"2021-06-04T17:05:29","slug":"jinx-breadcrumbs","status":"publish","type":"plugin","link":"https:\/\/sk.wordpress.org\/plugins\/jinx-breadcrumbs\/","author":8023631,"comment_status":"closed","ping_status":"closed","template":"","meta":{"_crdt_document":"","version":"0.2.11","stable_tag":"trunk","tested":"5.5.18","requires":"5.0","requires_php":"7.1","requires_plugins":"","header_name":"Jinx Breadcrumbs","header_author":"SquareFlower Websolutions (Lukas Rydygel) <hallo@squareflower.de>","header_description":"Simple yet powerful breadcrumbs for geeks","assets_banners_color":"cda5ba","last_updated":"2021-06-04 17:05:29","external_support_url":"","external_repository_url":"","donate_link":"","header_plugin_uri":"https:\/\/wordpress.org\/plugins\/jinx-breadcrumbs\/","header_author_uri":"https:\/\/squareflower.de","rating":0,"author_block_rating":0,"active_installs":0,"downloads":938,"num_ratings":0,"support_threads":0,"support_threads_resolved":0,"author_block_count":0,"sections":["description","installation"],"tags":[],"upgrade_notice":[],"ratings":[],"assets_icons":{"icon-128x128.png":{"filename":"icon-128x128.png","revision":2428656,"resolution":"128x128","location":"assets","locale":""},"icon-256x256.png":{"filename":"icon-256x256.png","revision":2428656,"resolution":"256x256","location":"assets","locale":""}},"assets_banners":{"banner-772x250.jpg":{"filename":"banner-772x250.jpg","revision":2428656,"resolution":"772x250","location":"assets","locale":""}},"assets_blueprints":{},"all_blocks":[],"tagged_versions":[],"block_files":[],"assets_screenshots":[],"screenshots":[],"jetpack_post_was_ever_published":false},"plugin_section":[],"plugin_tags":[2752,186],"plugin_category":[55],"plugin_contributors":[158154],"plugin_business_model":[],"class_list":["post-132455","plugin","type-plugin","status-publish","hentry","plugin_tags-breadcrumbs","plugin_tags-seo","plugin_category-seo-and-marketing","plugin_contributors-lugat","plugin_committers-lugat"],"banners":{"banner":"https:\/\/ps.w.org\/jinx-breadcrumbs\/assets\/banner-772x250.jpg?rev=2428656","banner_2x":false,"banner_rtl":false,"banner_2x_rtl":false},"icons":{"svg":false,"icon":"https:\/\/ps.w.org\/jinx-breadcrumbs\/assets\/icon-128x128.png?rev=2428656","icon_2x":"https:\/\/ps.w.org\/jinx-breadcrumbs\/assets\/icon-256x256.png?rev=2428656","generated":false},"screenshots":[],"raw_content":"<!--section=description-->\n<p>The plugin allows you to render breadcrumbs and configurate them with filters.<\/p>\n\n<h3>Usage<\/h3>\n\n<p>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.<\/p>\n\n<pre><code>&lt;?php\n\n  if (function_exists('jinx_breadcrumbs')) :\n\n    jinx_breadcrumbs([\n      \/\/ default args\n      'home' =&gt; __('Home', 'jinx-breadcrumbs'),\n      'search' =&gt; __('Search: \"%s\"', 'jinx-breadcrumbs'),\n      '404' =&gt; __('Error 404', 'jinx-breadcrumbs'),\n      'author' =&gt; __('Author: %s', 'jinx-breadcrumbs'),\n      'year' =&gt; 'Y',\n      'month' =&gt; 'F',\n      'day' =&gt; 'd',\n      'before' =&gt; '&lt;nav aria-label=\"breadcrumb\"&gt;&lt;ol&gt;',\n      'after' =&gt; '&lt;\/ol&gt;&lt;\/nav&gt;',\n      'before_item' =&gt; '&lt;li%s&gt;',\n      'after_item' =&gt; '&lt;\/li&gt;',\n    ]);\n\n  endif;\n\n?&gt;\n<\/code><\/pre>\n\n<p>You may also use the filter 'jinx_jinx_breadcrumbs' to overwrite them.<\/p>\n\n<pre><code>&lt;?php\n\n  add_filter('jinx_breadcrumbs', function($args) {\n\n    return array_merge($args, [\n      'home' =&gt; __('Start', 'cca'),\n      'search' =&gt; __('Your searched for \"%s\"', 'cca'),\n    ]);\n\n  });\n\n?&gt;\n<\/code><\/pre>\n\n<p>The plugin will automatically try to find the correct archive pages by using the rewrite slug of custom taxonomies and post types.<\/p>\n\n<p>If you may want to change this behavior, you may use some filters to manipulate the archive page.<\/p>\n\n<p>If you return NULL, the archive page will be removed.<\/p>\n\n<pre><code>&lt;?php\n\n  \/\/ filters the archive page, passing the PID, type ('taxonomy' or 'post_type') and name (eg. 'video')\n  add_filter('jinx_breadcrumbs_archive', function($pid, $type, $name) {\n\n    return $pid;\n\n  }, 10, 3);\n\n  \/\/ filters the archive page, passing the PID and name (eg. 'video')\n  \/\/ the type is part of the filter (eg. 'jinx_breadcrumbs_archive_taxonomy')\n  add_filter('jinx_breadcrumbs_archive_{type}', function($pid, $name) {\n\n    return $pid;\n\n  }, 10, 2);\n\n  \/\/ filters the archive page, passing the PID\n  \/\/ the type and name are part of the filter (eg. 'jinx_breadcrumbs_archive_post_type_video')\n  add_filter('jinx_breadcrumbs_archive_{type}_{name}', function($pid) {\n\n    return $pid;\n\n  }, 10, 1);\n\n?&gt;\n<\/code><\/pre>\n\n<!--section=installation-->\n<ol>\n<li>Unzip the downloaded package<\/li>\n<li>Upload <code>jinx-block-renderer<\/code> to the <code>\/wp-content\/plugins\/<\/code> directory<\/li>\n<li>Activate the plugin through the 'Plugins' menu in WordPress<\/li>\n<\/ol>","raw_excerpt":"Simple yet powerful breadcrumbs for geeks","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/sk.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin\/132455","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/sk.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin"}],"about":[{"href":"https:\/\/sk.wordpress.org\/plugins\/wp-json\/wp\/v2\/types\/plugin"}],"replies":[{"embeddable":true,"href":"https:\/\/sk.wordpress.org\/plugins\/wp-json\/wp\/v2\/comments?post=132455"}],"author":[{"embeddable":true,"href":"https:\/\/sk.wordpress.org\/plugins\/wp-json\/wporg\/v1\/users\/lugat"}],"wp:attachment":[{"href":"https:\/\/sk.wordpress.org\/plugins\/wp-json\/wp\/v2\/media?parent=132455"}],"wp:term":[{"taxonomy":"plugin_section","embeddable":true,"href":"https:\/\/sk.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_section?post=132455"},{"taxonomy":"plugin_tags","embeddable":true,"href":"https:\/\/sk.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_tags?post=132455"},{"taxonomy":"plugin_category","embeddable":true,"href":"https:\/\/sk.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_category?post=132455"},{"taxonomy":"plugin_contributors","embeddable":true,"href":"https:\/\/sk.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_contributors?post=132455"},{"taxonomy":"plugin_business_model","embeddable":true,"href":"https:\/\/sk.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_business_model?post=132455"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}