{"id":19450850,"url":"https://github.com/morning-train/wp-breadcrumbs","last_synced_at":"2026-02-14T21:02:11.697Z","repository":{"id":65344644,"uuid":"590389904","full_name":"Morning-Train/wp-breadcrumbs","owner":"Morning-Train","description":"Breadcrumbs for WordPress","archived":false,"fork":false,"pushed_at":"2025-02-24T12:16:29.000Z","size":14,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-09-28T14:17:08.110Z","etag":null,"topics":["breadcrumbs","php","wordpress","wp"],"latest_commit_sha":null,"homepage":null,"language":"PHP","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Morning-Train.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2023-01-18T09:57:52.000Z","updated_at":"2025-02-24T12:16:33.000Z","dependencies_parsed_at":"2025-04-30T16:54:05.741Z","dependency_job_id":null,"html_url":"https://github.com/Morning-Train/wp-breadcrumbs","commit_stats":null,"previous_names":[],"tags_count":3,"template":false,"template_full_name":null,"purl":"pkg:github/Morning-Train/wp-breadcrumbs","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Morning-Train%2Fwp-breadcrumbs","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Morning-Train%2Fwp-breadcrumbs/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Morning-Train%2Fwp-breadcrumbs/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Morning-Train%2Fwp-breadcrumbs/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Morning-Train","download_url":"https://codeload.github.com/Morning-Train/wp-breadcrumbs/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Morning-Train%2Fwp-breadcrumbs/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29455601,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-14T15:52:44.973Z","status":"ssl_error","status_checked_at":"2026-02-14T15:52:11.208Z","response_time":53,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["breadcrumbs","php","wordpress","wp"],"created_at":"2024-11-10T16:39:16.265Z","updated_at":"2026-02-14T21:02:11.684Z","avatar_url":"https://github.com/Morning-Train.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Morningtrain\\WP\\Breadcrumbs\n\nAutogenerated breadcrumbs for WordPress.\n\n## Table of Contents\n\n- [Introduction](#introduction)\n- [Getting Started](#getting-started)\n  - [Installation](#installation)\n- [Usage](#usage)\n- [Credits](#credits)\n- [License](#license)\n\n## Introduction\n\nThis package is made to make it simple to add breadcrumbs to WordPress.\n\n## Getting started\n\nTo get started install the package as described below in [Installation](#installation).\n\nTo use the package have a look at [Usage](#usage)\n\n### Installation\n\nInstall with composer.\n\n```composer require morningtrain/wp-breadcrumbs```\n\n## Usage\n\nTo get started with the module simply compose and render the breadcrumbs.\n\n```php\n\\Morningtrain\\WP\\Breadcrumbs\\Breadcrumbs::compose()-\u003erender();\n```\n\n### Change Seperator\n\nYou can change the seperator by calling `seperator` on the BreadcrumbGenerator.\n\n```php\n\\Morningtrain\\WP\\Breadcrumbs\\Breadcrumbs::compose()-\u003eseparator(' \u003e\u003e ')-\u003erender();\n```\n\n### Hide on Front Page\nYou can easily hide the breadcrumbs on the frontpage by calling `hideOnFrontPage` on the BreadcrumbGenerator.\n\n```php\n\\Morningtrain\\WP\\Breadcrumbs\\Breadcrumbs::compose()-\u003ehideOnFrontPage()-\u003erender();\n```\n\n### Remove Prefixed Front Page\nYou can remove the prefixed front page breadcrumb on all pages by calling `hidePrefixedFrontPagePart` on the BreadcrumbGenerator.\n\n```php\n\\Morningtrain\\WP\\Breadcrumbs\\Breadcrumbs::compose()-\u003ehidePrefixedFrontPagePart()-\u003erender();\n```\n\n### Exclude terms\nYou can easily hide the terms from the breadcrumbs by using `excludeTaxonomies` on the BreadcrumbGenerator.\n\n```php\n\\Morningtrain\\WP\\Breadcrumbs\\Breadcrumbs::compose()-\u003eexcludeTaxonomies(['category'])-\u003erender();\n```\n\n### Exclude post type archive\nYou can easily hide the post type archive from the breadcrumbs by using `excludePostTypeArchives` on the BreadcrumbGenerator.\n\n```php\n\\Morningtrain\\WP\\Breadcrumbs\\Breadcrumbs::compose()-\u003eexcludePostTypeArchives(['post'])-\u003erender();\n```\n\n### Alternative to Render\nIf you will create your own markup, you can get all breadcrumb parts by calling `getBreadcrumbs` on the BreadcrumbGenerator.\n\n```php\n\\Morningtrain\\WP\\Breadcrumbs\\Breadcrumbs::compose()-\u003egetBreadcrumbs();\n```\n\n## Credits\n\n- [Martin Schadegg Brønniche](https://github.com/mschadegg)\n- [All Contributors](../../contributors)\n\n## License\n\nThe MIT License (MIT). Please see [License File](LICENSE) for more information.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmorning-train%2Fwp-breadcrumbs","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmorning-train%2Fwp-breadcrumbs","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmorning-train%2Fwp-breadcrumbs/lists"}